Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 114.7 kB / 17.09 MB, free: 6.012 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.00152/0.001519, allocations: 193.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.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7298/0.7298, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.66 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007143/0.1506, allocations: 6.064 MB / 0.6387 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.1556, allocations: 3.153 MB / 0.6417 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.1563, allocations: 31.81 kB / 0.6418 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.1587, allocations: 0.932 MB / 0.6427 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.16, allocations: 473.5 kB / 0.6431 GB, free: 9.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1612, allocations: 481.6 kB / 0.6436 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1625, allocations: 1.1 MB / 0.6447 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009349/0.1634, allocations: 0.6388 MB / 0.6453 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.164, allocations: 434.4 kB / 0.6457 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/0.1646, allocations: 474.2 kB / 0.6462 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.1647, allocations: 60 kB / 0.6462 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.1655, allocations: 494.9 kB / 0.6467 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.1658, allocations: 279.3 kB / 0.647 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.1661, allocations: 401.9 kB / 0.6473 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1673, allocations: 1.172 MB / 0.6485 GB, free: 4.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1673, allocations: 4 kB / 0.6485 GB, free: 4.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1674, allocations: 3.984 kB / 0.6485 GB, free: 4.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1674, allocations: 0 / 0.6485 GB, free: 4.219 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001503/0.1689, allocations: 1.052 MB / 0.6495 GB, free: 3.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1689, allocations: 8.031 kB / 0.6495 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.1704, allocations: 219.6 kB / 0.6497 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.1712, allocations: 0.5805 MB / 0.6503 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.1713, allocations: 45.67 kB / 0.6503 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.1714, allocations: 72.36 kB / 0.6504 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.1729, allocations: 1.034 MB / 0.6514 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.1729, allocations: 11.91 kB / 0.6514 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.173, allocations: 27.98 kB / 0.6515 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.713e-05/0.1731, allocations: 65.28 kB / 0.6515 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1742, allocations: 0.6996 MB / 0.6522 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.1788, allocations: 5.725 MB / 0.6578 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.1796, allocations: 0.6015 MB / 0.6584 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007562/0.1803, allocations: 440.4 kB / 0.6588 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1804, allocations: 4 kB / 0.6588 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1804, allocations: 39.25 kB / 0.6588 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.685e-06/0.1804, allocations: 0 / 0.6588 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004032/0.1844, allocations: 2.014 MB / 0.6608 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1845, allocations: 55.41 kB / 0.6609 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.185, allocations: 458.7 kB / 0.6613 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.185, allocations: 29.7 kB / 0.6613 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.1852, allocations: 391 kB / 0.6617 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.1854, allocations: 149.8 kB / 0.6618 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.1855, allocations: 110.2 kB / 0.662 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1857, allocations: 366.8 kB / 0.6623 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.186, allocations: 241.2 kB / 0.6625 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.1864, allocations: 453 kB / 0.663 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008315/0.1873, allocations: 0.7516 MB / 0.6637 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1873, allocations: 0 / 0.6637 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00171/0.189, allocations: 1.046 MB / 0.6647 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1891, allocations: 8 kB / 0.6647 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1891, allocations: 8 kB / 0.6647 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009768/0.1901, allocations: 323.1 kB / 0.665 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1904, allocations: 95.83 kB / 0.6651 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007019/0.1974, allocations: 7.475 MB / 0.6724 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.1979, allocations: 36.02 kB / 0.6725 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.198, allocations: 31.94 kB / 0.6725 GB, free: 10.01 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.1984, allocations: 241.6 kB / 0.6727 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.1985, allocations: 55.34 kB / 0.6728 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.2, allocations: 0.896 MB / 0.6737 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2, allocations: 3.984 kB / 0.6737 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2, allocations: 0 / 0.6737 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.2002, allocations: 172.3 kB / 0.6738 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.2003, allocations: 4 kB / 0.6738 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.2006, allocations: 19.97 kB / 0.6738 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.2006, allocations: 47.92 kB / 0.6739 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001864/0.2025, allocations: 0.9488 MB / 0.6748 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001196/0.2037, allocations: 0.9805 MB / 0.6758 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003417/0.2041, allocations: 248.5 kB / 0.676 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003543/0.2044, allocations: 310.9 kB / 0.6763 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of Backend: time 5.31e-07/0.2045, allocations: 0 / 0.6763 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00265/0.2071, allocations: 1.296 MB / 0.6776 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002649/0.2098, allocations: 1.882 MB / 0.6794 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of Templates: time 0.01849/0.2283, allocations: 11.97 MB / 0.6911 GB, free: 6.855 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)