Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 114.6 kB / 17.09 MB, free: 6.008 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.001015/0.001015, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.288/1.288, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6861/0.6861, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.52 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1462, allocations: 76.19 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005954/0.1522, allocations: 4.361 MB / 0.637 GB, free: 44 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.157, allocations: 3.253 MB / 0.6402 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.1573, allocations: 15.94 kB / 0.6402 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.1587, allocations: 0.5156 MB / 0.6407 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.1596, allocations: 397.9 kB / 0.6411 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.1602, allocations: 247.4 kB / 0.6413 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.1609, allocations: 0.5917 MB / 0.6419 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006171/0.1615, allocations: 0.5209 MB / 0.6424 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.1619, allocations: 303 kB / 0.6427 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.1623, allocations: 267.1 kB / 0.6429 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.1624, allocations: 40 kB / 0.643 GB, free: 9.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.1629, allocations: 299.5 kB / 0.6433 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.163, allocations: 155.6 kB / 0.6434 GB, free: 9.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.1633, allocations: 238.9 kB / 0.6436 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008199/0.1641, allocations: 0.7945 MB / 0.6444 GB, free: 8.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1641, allocations: 0 / 0.6444 GB, free: 8.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1641, allocations: 0 / 0.6444 GB, free: 8.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1641, allocations: 4 kB / 0.6444 GB, free: 8.418 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001234/0.1654, allocations: 0.7637 MB / 0.6452 GB, free: 7.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1654, allocations: 8.031 kB / 0.6452 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/0.1682, allocations: 0.6866 MB / 0.6458 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006247/0.1688, allocations: 443.8 kB / 0.6463 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.1689, allocations: 25.03 kB / 0.6463 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.169, allocations: 40.06 kB / 0.6463 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1705, allocations: 0.7826 MB / 0.6471 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1705, allocations: 3.938 kB / 0.6471 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.1706, allocations: 16 kB / 0.6471 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.1707, allocations: 40.61 kB / 0.6472 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.1731, allocations: 0.8687 MB / 0.648 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003888/0.177, allocations: 2.812 MB / 0.6507 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.1787, allocations: 0.5097 MB / 0.6512 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.1794, allocations: 256.6 kB / 0.6515 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1795, allocations: 85.11 kB / 0.6516 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.1796, allocations: 34.56 kB / 0.6516 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 3.888e-06/0.1796, allocations: 0 / 0.6516 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.01199/0.1916, allocations: 3.071 MB / 0.6546 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1917, allocations: 59.34 kB / 0.6547 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.1922, allocations: 405.5 kB / 0.655 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.1923, allocations: 29.7 kB / 0.6551 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1925, allocations: 235.8 kB / 0.6553 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.1926, allocations: 82.8 kB / 0.6554 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1927, allocations: 65.69 kB / 0.6554 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1929, allocations: 354.8 kB / 0.6558 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009498/0.1939, allocations: 360.3 kB / 0.6561 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009868/0.1949, allocations: 429.7 kB / 0.6565 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.1968, allocations: 0.752 MB / 0.6573 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1968, allocations: 4 kB / 0.6573 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005018/0.2018, allocations: 1.5 MB / 0.6587 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.2019, allocations: 5.875 kB / 0.6587 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2019, allocations: 7.984 kB / 0.6588 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/0.2053, allocations: 0.7662 MB / 0.6595 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.206, allocations: 127.8 kB / 0.6596 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.2131, allocations: 4.834 MB / 0.6643 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.214, allocations: 111.8 kB / 0.6644 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.214, allocations: 24.05 kB / 0.6645 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001212/0.2153, allocations: 0.5271 MB / 0.665 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001021/0.2163, allocations: 420 kB / 0.6654 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001899/0.2182, allocations: 0.7295 MB / 0.6661 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.544e-06/0.2182, allocations: 3.938 kB / 0.6661 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004272/0.2225, allocations: 1.262 MB / 0.6673 GB, free: 52 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2225, allocations: 8 kB / 0.6673 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2225, allocations: 0 / 0.6673 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.2247, allocations: 0.5004 MB / 0.6678 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.2254, allocations: 143.8 kB / 0.668 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.2292, allocations: 2.62 MB / 0.6705 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/0.2301, allocations: 107.8 kB / 0.6706 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.2301, allocations: 15.98 kB / 0.6706 GB, free: 12.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.2304, allocations: 208.8 kB / 0.6708 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.2305, allocations: 31.62 kB / 0.6709 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/0.235, allocations: 1.352 MB / 0.6722 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2351, allocations: 4 kB / 0.6722 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2351, allocations: 0 / 0.6722 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.2353, allocations: 168.6 kB / 0.6724 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.2354, allocations: 4 kB / 0.6724 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/0.236, allocations: 91.8 kB / 0.6725 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.2362, allocations: 27.95 kB / 0.6725 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003163/0.2394, allocations: 1.154 MB / 0.6736 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002086/0.2415, allocations: 1.107 MB / 0.6747 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006425/0.2421, allocations: 319.6 kB / 0.675 GB, free: 8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003837/0.2425, allocations: 315 kB / 0.6753 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of Backend: time 3.31e-07/0.2425, allocations: 0 / 0.6753 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003608/0.2461, allocations: 1.494 MB / 0.6767 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00178/0.2479, allocations: 1.42 MB / 0.6781 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of Templates: time 0.02264/0.2706, allocations: 15.47 MB / 0.6932 GB, free: 5.301 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)