Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 106 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 184.6 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.018/2.018, allocations: 292.3 MB / 0.5495 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2506, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.593/0.8436, allocations: 4.848 MB / 0.7888 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004284/0.848, allocations: 2.493 MB / 0.7913 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.8483, allocations: 23.72 kB / 0.7913 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.8495, allocations: 406.9 kB / 0.7917 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.8506, allocations: 446.2 kB / 0.7921 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.8515, allocations: 373.4 kB / 0.7924 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.8526, allocations: 0.9151 MB / 0.7933 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000581/0.8532, allocations: 364.6 kB / 0.7937 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.8536, allocations: 338.7 kB / 0.794 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.854, allocations: 340.1 kB / 0.7943 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.8541, allocations: 39.38 kB / 0.7944 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006949/0.8548, allocations: 405.2 kB / 0.7948 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.855, allocations: 174.9 kB / 0.7949 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.8552, allocations: 322.7 kB / 0.7952 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.8561, allocations: 0.8833 MB / 0.7961 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8562, allocations: 0 / 0.7961 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8562, allocations: 0 / 0.7961 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.8562, allocations: 0 / 0.7961 GB, free: 44.99 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001385/0.8576, allocations: 0.9413 MB / 0.797 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.8576, allocations: 6.688 kB / 0.797 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.8589, allocations: 206.3 kB / 0.7972 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.8597, allocations: 486.4 kB / 0.7977 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.8597, allocations: 44.17 kB / 0.7977 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.8598, allocations: 41.97 kB / 0.7978 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.8608, allocations: 0.8473 MB / 0.7986 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.8608, allocations: 17.06 kB / 0.7986 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.8609, allocations: 24.48 kB / 0.7986 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-05/0.861, allocations: 67.05 kB / 0.7987 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.8617, allocations: 0.5613 MB / 0.7992 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.8652, allocations: 5.647 MB / 0.8048 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.8659, allocations: 455.1 kB / 0.8052 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.8662, allocations: 226.7 kB / 0.8054 GB, free: 38.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.8662, allocations: 3.688 kB / 0.8054 GB, free: 38.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.8663, allocations: 39.17 kB / 0.8054 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.8663, allocations: 0 / 0.8054 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002633/0.8689, allocations: 1.511 MB / 0.8069 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.8689, allocations: 53.97 kB / 0.807 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.8695, allocations: 0.4933 MB / 0.8075 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.8696, allocations: 31.08 kB / 0.8075 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.8698, allocations: 353.2 kB / 0.8078 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.8699, allocations: 118.1 kB / 0.8079 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.87, allocations: 114.8 kB / 0.808 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.8701, allocations: 365.3 kB / 0.8084 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.8705, allocations: 196 kB / 0.8086 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.8709, allocations: 445.1 kB / 0.809 GB, free: 35.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/0.8717, allocations: 0.6915 MB / 0.8097 GB, free: 35.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8717, allocations: 2.75 kB / 0.8097 GB, free: 35.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001362/0.8731, allocations: 0.809 MB / 0.8105 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8731, allocations: 12.62 kB / 0.8105 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.8731, allocations: 8.672 kB / 0.8105 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.8737, allocations: 156.2 kB / 0.8106 GB, free: 34.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.8742, allocations: 122.6 kB / 0.8108 GB, free: 34.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.877, allocations: 4.342 MB / 0.815 GB, free: 30.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.8775, allocations: 33.56 kB / 0.815 GB, free: 30.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.8775, allocations: 27.53 kB / 0.8151 GB, free: 30.31 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.8778, allocations: 222.1 kB / 0.8153 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.8779, allocations: 61.44 kB / 0.8153 GB, free: 30.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.879, allocations: 0.5978 MB / 0.8159 GB, free: 29.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.879, allocations: 7.531 kB / 0.8159 GB, free: 29.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8791, allocations: 1.719 kB / 0.8159 GB, free: 29.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.8791, allocations: 2.234 kB / 0.8159 GB, free: 29.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.8811, allocations: 1.255 MB / 0.8171 GB, free: 29.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.8811, allocations: 2.531 kB / 0.8172 GB, free: 29.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.8813, allocations: 56.95 kB / 0.8172 GB, free: 29.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.8818, allocations: 147 kB / 0.8173 GB, free: 29.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.8818, allocations: 11.27 kB / 0.8174 GB, free: 29.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.8845, allocations: 4.333 MB / 0.8216 GB, free: 24.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.8845, allocations: 6.719 kB / 0.8216 GB, free: 24.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.8857, allocations: 0.7085 MB / 0.8223 GB, free: 24.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.8859, allocations: 165.8 kB / 0.8224 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.886, allocations: 9.578 kB / 0.8225 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.8863, allocations: 25.2 kB / 0.8225 GB, free: 24.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.8864, allocations: 38.05 kB / 0.8225 GB, free: 24.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.8864, allocations: 8.609 kB / 0.8225 GB, free: 24.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004319/0.8868, allocations: 333.4 kB / 0.8228 GB, free: 24.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8868, allocations: 0 / 0.8228 GB, free: 24.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008052/0.8877, allocations: 138.2 kB / 0.823 GB, free: 24.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.8878, allocations: 115.8 kB / 0.8231 GB, free: 23.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.8891, allocations: 1.033 MB / 0.8241 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8892, allocations: 0 / 0.8241 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007278/0.8899, allocations: 0.7388 MB / 0.8248 GB, free: 22.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000946/0.8908, allocations: 202 kB / 0.825 GB, free: 22.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.8924, allocations: 1.033 MB / 0.826 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.8928, allocations: 0.9068 MB / 0.8269 GB, free: 21.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.8931, allocations: 115.4 kB / 0.827 GB, free: 21.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.8933, allocations: 40.14 kB / 0.827 GB, free: 21.21 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.8933, allocations: 4 kB / 0.8271 GB, free: 21.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.0211/0.9144, allocations: 7.578 MB / 0.8345 GB, free: 20.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)