Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 117 kB / 17.09 MB, free: 5.938 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.00148/0.00148, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.246/1.246, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6895/0.6895, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004243/0.138, allocations: 2.713 MB / 0.6354 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.1413, allocations: 2.104 MB / 0.6374 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1415, allocations: 7.938 kB / 0.6374 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000821/0.1423, allocations: 221.2 kB / 0.6377 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.1429, allocations: 223.1 kB / 0.6379 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.1436, allocations: 275.2 kB / 0.6381 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.1441, allocations: 311.1 kB / 0.6384 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.1444, allocations: 157.9 kB / 0.6386 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1446, allocations: 131.5 kB / 0.6387 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.145, allocations: 159.4 kB / 0.6389 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.1451, allocations: 20 kB / 0.6389 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.1457, allocations: 419.2 kB / 0.6393 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1458, allocations: 95.77 kB / 0.6394 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.146, allocations: 111.5 kB / 0.6395 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.1467, allocations: 490.6 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1467, allocations: 4 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1467, allocations: 0 / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1467, allocations: 0 / 0.6399 GB, free: 12.98 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001053/0.1478, allocations: 0.5536 MB / 0.6405 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1479, allocations: 12.03 kB / 0.6405 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009873/0.1488, allocations: 132.5 kB / 0.6406 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.1492, allocations: 260.4 kB / 0.6409 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1492, allocations: 16.8 kB / 0.6409 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.1493, allocations: 20.12 kB / 0.6409 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006749/0.1499, allocations: 393.9 kB / 0.6413 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.15, allocations: 0 / 0.6413 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.15, allocations: 12 kB / 0.6413 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.1501, allocations: 23.98 kB / 0.6413 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.1508, allocations: 383.4 kB / 0.6417 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.1528, allocations: 1.734 MB / 0.6434 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.1536, allocations: 352.9 kB / 0.6437 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.154, allocations: 190 kB / 0.6439 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.1541, allocations: 89.08 kB / 0.644 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1542, allocations: 42.42 kB / 0.644 GB, free: 8.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.1542, allocations: 3.938 kB / 0.644 GB, free: 8.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.008565/0.1627, allocations: 2.057 MB / 0.646 GB, free: 6.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.1628, allocations: 85.05 kB / 0.6461 GB, free: 6.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.163, allocations: 178.9 kB / 0.6463 GB, free: 6.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.1631, allocations: 37.7 kB / 0.6463 GB, free: 6.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.1632, allocations: 148.3 kB / 0.6465 GB, free: 5.945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.1633, allocations: 114.3 kB / 0.6466 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1634, allocations: 77.69 kB / 0.6466 GB, free: 5.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1636, allocations: 334.8 kB / 0.647 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.1641, allocations: 276.6 kB / 0.6472 GB, free: 5.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/0.1647, allocations: 333.5 kB / 0.6475 GB, free: 4.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.1659, allocations: 0.6229 MB / 0.6482 GB, free: 4.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1659, allocations: 7.938 kB / 0.6482 GB, free: 4.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001361/0.1673, allocations: 0.6698 MB / 0.6488 GB, free: 3.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1673, allocations: 9.875 kB / 0.6488 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1673, allocations: 0 / 0.6488 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1673, allocations: 4 kB / 0.6488 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/0.1683, allocations: 151.8 kB / 0.649 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1683, allocations: 8.188 kB / 0.649 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.1688, allocations: 55.92 kB / 0.649 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.1688, allocations: 19.98 kB / 0.6491 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006354/0.1695, allocations: 367.9 kB / 0.6494 GB, free: 2.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000565/0.17, allocations: 345.8 kB / 0.6497 GB, free: 2.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001126/0.1712, allocations: 0.5862 MB / 0.6503 GB, free: 1.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.1712, allocations: 0 / 0.6503 GB, free: 1.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00131/0.1725, allocations: 0.6418 MB / 0.6509 GB, free: 1.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1725, allocations: 8.062 kB / 0.6509 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1725, allocations: 4 kB / 0.6509 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/0.1725, allocations: 4 kB / 0.6509 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/0.1734, allocations: 151.7 kB / 0.6511 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.1734, allocations: 4 kB / 0.6511 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.1739, allocations: 55.92 kB / 0.6511 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.1739, allocations: 19.98 kB / 0.6512 GB, free: 0.9609 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.1741, allocations: 196.1 kB / 0.6514 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.1742, allocations: 19.81 kB / 0.6514 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.1756, allocations: 0.6879 MB / 0.652 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.1756, allocations: 15.98 kB / 0.6521 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1757, allocations: 0 / 0.6521 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1757, allocations: 7.938 kB / 0.6521 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.178, allocations: 1.368 MB / 0.6534 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.178, allocations: 4 kB / 0.6534 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.1786, allocations: 128 kB / 0.6535 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1786, allocations: 7.938 kB / 0.6535 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.1786, allocations: 8 kB / 0.6535 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.1786, allocations: 7.938 kB / 0.6536 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1786, allocations: 4 kB / 0.6536 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1798, allocations: 0.7029 MB / 0.6542 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.18, allocations: 144.8 kB / 0.6544 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.18, allocations: 8 kB / 0.6544 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.1804, allocations: 47.88 kB / 0.6544 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.1805, allocations: 23.97 kB / 0.6545 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.1805, allocations: 12 kB / 0.6545 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00018/0.1807, allocations: 152.3 kB / 0.6546 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1807, allocations: 7.938 kB / 0.6546 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000633/0.1814, allocations: 148 kB / 0.6548 GB, free: 13.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002167/0.1816, allocations: 131.2 kB / 0.6549 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.1833, allocations: 0.8678 MB / 0.6557 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1833, allocations: 0.75 kB / 0.6557 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.1838, allocations: 259.7 kB / 0.656 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.1843, allocations: 46.09 kB / 0.656 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1855, allocations: 0.7423 MB / 0.6568 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1859, allocations: 0.7916 MB / 0.6575 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.1861, allocations: 31.42 kB / 0.6576 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.412e-06/0.1861, allocations: 0 / 0.6576 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.007445/0.1936, allocations: 4.963 MB / 0.6624 GB, free: 5.199 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)