Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001365/0.001365, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001321/0.001321, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002606/0.002606, allocations: 278.6 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.5069 GB, free: 4.707 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 105.6 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1555, allocations: 89.14 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006564/0.1621, allocations: 4.864 MB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.166, allocations: 2.445 MB / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.1662, allocations: 23.81 kB / 0.7001 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1673, allocations: 366.9 kB / 0.7005 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007804/0.1681, allocations: 414 kB / 0.7009 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.1688, allocations: 330.1 kB / 0.7012 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009617/0.1698, allocations: 0.9134 MB / 0.7021 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.1704, allocations: 407.3 kB / 0.7025 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.1708, allocations: 346.6 kB / 0.7028 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.1713, allocations: 362.4 kB / 0.7032 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.1713, allocations: 36 kB / 0.7032 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.1719, allocations: 395.1 kB / 0.7036 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1721, allocations: 191.4 kB / 0.7038 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.1724, allocations: 318.2 kB / 0.7041 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000959/0.1734, allocations: 0.8954 MB / 0.7049 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1734, allocations: 0 / 0.7049 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1734, allocations: 4 kB / 0.7049 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1734, allocations: 0 / 0.7049 GB, free: 8.406 MB / 0.4981 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.001399/0.1748, allocations: 0.9346 MB / 0.7059 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1749, allocations: 12.03 kB / 0.7059 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.1761, allocations: 199.9 kB / 0.7061 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006814/0.1768, allocations: 498.2 kB / 0.7065 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.1768, allocations: 29.38 kB / 0.7066 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.1769, allocations: 44.36 kB / 0.7066 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.1781, allocations: 0.8448 MB / 0.7074 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.1781, allocations: 15.94 kB / 0.7074 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.1782, allocations: 23.98 kB / 0.7075 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-05/0.1783, allocations: 68.89 kB / 0.7075 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/0.1792, allocations: 0.5656 MB / 0.7081 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/0.1841, allocations: 5.658 MB / 0.7136 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.1848, allocations: 454.2 kB / 0.714 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.1851, allocations: 228.7 kB / 0.7143 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.1851, allocations: 4.531 kB / 0.7143 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1852, allocations: 42.56 kB / 0.7143 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.1852, allocations: 0 / 0.7143 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002648/0.1878, allocations: 1.506 MB / 0.7158 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1879, allocations: 51.69 kB / 0.7158 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005732/0.1885, allocations: 499 kB / 0.7163 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.1885, allocations: 29.7 kB / 0.7163 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.1888, allocations: 366.7 kB / 0.7167 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1889, allocations: 118.3 kB / 0.7168 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.1891, allocations: 114.2 kB / 0.7169 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1893, allocations: 362.8 kB / 0.7172 GB, free: 11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.1896, allocations: 193.2 kB / 0.7174 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.1901, allocations: 447.3 kB / 0.7179 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.191, allocations: 0.6913 MB / 0.7185 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.191, allocations: 0 / 0.7185 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001322/0.1924, allocations: 0.8099 MB / 0.7193 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1924, allocations: 12 kB / 0.7193 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1924, allocations: 8 kB / 0.7193 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.1929, allocations: 156.1 kB / 0.7195 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.1933, allocations: 119.7 kB / 0.7196 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.1971, allocations: 4.344 MB / 0.7238 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.1975, allocations: 35.97 kB / 0.7239 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.1975, allocations: 28 kB / 0.7239 GB, free: 3.484 MB / 0.5137 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.0002592/0.1978, allocations: 213.6 kB / 0.7241 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.1979, allocations: 63.25 kB / 0.7242 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.199, allocations: 0.5968 MB / 0.7248 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.199, allocations: 4 kB / 0.7248 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.199, allocations: 8 kB / 0.7248 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.199, allocations: 0 / 0.7248 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.2009, allocations: 1.261 MB / 0.726 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2009, allocations: 0 / 0.726 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.2012, allocations: 55.89 kB / 0.726 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.2016, allocations: 140.2 kB / 0.7262 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.2016, allocations: 20.08 kB / 0.7262 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.2053, allocations: 4.332 MB / 0.7304 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2053, allocations: 3.984 kB / 0.7304 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2063, allocations: 0.7121 MB / 0.7311 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.2066, allocations: 168.3 kB / 0.7313 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.2066, allocations: 11.94 kB / 0.7313 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2069, allocations: 23.97 kB / 0.7313 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.207, allocations: 35.83 kB / 0.7314 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.207, allocations: 12 kB / 0.7314 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003643/0.2074, allocations: 326.9 kB / 0.7317 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2074, allocations: 0 / 0.7317 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005807/0.208, allocations: 152 kB / 0.7318 GB, free: 10.74 MB / 0.5294 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.0001461/0.2081, allocations: 110 kB / 0.7319 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.2097, allocations: 1.076 MB / 0.733 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2097, allocations: 4.125 kB / 0.733 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008948/0.2106, allocations: 0.7357 MB / 0.7337 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/0.2115, allocations: 204.5 kB / 0.7339 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.2132, allocations: 1.254 MB / 0.7351 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.2138, allocations: 0.9019 MB / 0.736 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003347/0.2142, allocations: 121.3 kB / 0.7361 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.2143, allocations: 39.44 kB / 0.7362 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.2143, allocations: 0 / 0.7362 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of Templates: time 0.01436/0.2286, allocations: 7.661 MB / 0.7436 GB, free: 14.5 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)