Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001163/0.001163, allocations: 107.7 kB / 16.4 MB, free: 6.473 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.00127/0.00127, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7232/0.7232, allocations: 115.3 MB / 406.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 62.48 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1658, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00617/0.1721, allocations: 4.834 MB / 0.6368 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003836/0.1759, allocations: 2.456 MB / 0.6392 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.1762, allocations: 23.81 kB / 0.6392 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.1774, allocations: 398 kB / 0.6396 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008784/0.1783, allocations: 449.6 kB / 0.64 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.179, allocations: 373.6 kB / 0.6404 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008495/0.1799, allocations: 0.9173 MB / 0.6413 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005045/0.1804, allocations: 358.4 kB / 0.6416 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.1808, allocations: 342.7 kB / 0.6419 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.1812, allocations: 342.5 kB / 0.6423 GB, free: 9.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.1813, allocations: 40 kB / 0.6423 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006488/0.1819, allocations: 403.1 kB / 0.6427 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.1821, allocations: 179.4 kB / 0.6429 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.1824, allocations: 322.2 kB / 0.6432 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008428/0.1832, allocations: 0.876 MB / 0.644 GB, free: 8.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1832, allocations: 0 / 0.644 GB, free: 8.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1833, allocations: 4 kB / 0.644 GB, free: 8.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1833, allocations: 0 / 0.644 GB, free: 8.109 MB / 494.1 MB 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.001295/0.1846, allocations: 0.9385 MB / 0.645 GB, free: 7.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1846, allocations: 12.03 kB / 0.645 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.1858, allocations: 203.9 kB / 0.6452 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007921/0.1866, allocations: 0.5295 MB / 0.6457 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.1867, allocations: 37.36 kB / 0.6457 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.1867, allocations: 48.27 kB / 0.6458 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.1877, allocations: 0.8487 MB / 0.6466 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.1878, allocations: 7.938 kB / 0.6466 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.1878, allocations: 20 kB / 0.6466 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.602e-05/0.1879, allocations: 68.95 kB / 0.6467 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007808/0.1887, allocations: 0.5656 MB / 0.6472 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.1929, allocations: 5.643 MB / 0.6527 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.1936, allocations: 459.2 kB / 0.6532 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.1939, allocations: 228.7 kB / 0.6534 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1939, allocations: 4 kB / 0.6534 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1939, allocations: 34.56 kB / 0.6534 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.1939, allocations: 0 / 0.6534 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00236/0.1963, allocations: 1.509 MB / 0.6549 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1963, allocations: 59.69 kB / 0.655 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.1968, allocations: 495 kB / 0.6554 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1969, allocations: 33.7 kB / 0.6555 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.1971, allocations: 354.8 kB / 0.6558 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.1972, allocations: 122.3 kB / 0.6559 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.1973, allocations: 110.2 kB / 0.656 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1975, allocations: 362.8 kB / 0.6564 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.1977, allocations: 193.2 kB / 0.6566 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.1982, allocations: 451.3 kB / 0.657 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007218/0.1989, allocations: 0.6874 MB / 0.6577 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1989, allocations: 4 kB / 0.6577 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001166/0.2001, allocations: 0.8092 MB / 0.6585 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2001, allocations: 12 kB / 0.6585 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2001, allocations: 8 kB / 0.6585 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.2006, allocations: 156.8 kB / 0.6586 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.201, allocations: 131.7 kB / 0.6587 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.2042, allocations: 4.34 MB / 0.663 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.2046, allocations: 31.97 kB / 0.663 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.2047, allocations: 28.16 kB / 0.663 GB, free: 3.148 MB / 0.4981 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.000257/0.2049, allocations: 217.5 kB / 0.6633 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.205, allocations: 59.25 kB / 0.6633 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.206, allocations: 0.6008 MB / 0.6639 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.206, allocations: 4 kB / 0.6639 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.206, allocations: 0 / 0.6639 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.206, allocations: 0 / 0.6639 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.2077, allocations: 1.271 MB / 0.6651 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2077, allocations: 4 kB / 0.6651 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.208, allocations: 55.94 kB / 0.6652 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/0.2084, allocations: 144.3 kB / 0.6653 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.2084, allocations: 11.94 kB / 0.6653 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/0.2115, allocations: 4.329 MB / 0.6696 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.2115, allocations: 7.969 kB / 0.6696 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2126, allocations: 0.7082 MB / 0.6703 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.2128, allocations: 172.3 kB / 0.6704 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.2129, allocations: 12 kB / 0.6704 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.2131, allocations: 23.91 kB / 0.6705 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.2132, allocations: 35.91 kB / 0.6705 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2132, allocations: 8 kB / 0.6705 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004081/0.2137, allocations: 334.8 kB / 0.6708 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2137, allocations: 4 kB / 0.6708 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000605/0.2143, allocations: 136 kB / 0.671 GB, free: 10.4 MB / 0.5137 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.0001379/0.2144, allocations: 111.4 kB / 0.6711 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.2158, allocations: 1.036 MB / 0.6721 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2159, allocations: 4.125 kB / 0.6721 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.2166, allocations: 0.7224 MB / 0.6728 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.2176, allocations: 204.4 kB / 0.673 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2192, allocations: 1.036 MB / 0.674 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.22, allocations: 0.9058 MB / 0.6749 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003861/0.2204, allocations: 121.3 kB / 0.675 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2205, allocations: 39.44 kB / 0.675 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.533e-06/0.2205, allocations: 0 / 0.675 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.0144/0.2349, allocations: 7.671 MB / 0.6825 GB, free: 14.4 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)