Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 121.5 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.001177/0.001177, allocations: 192.7 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6817/0.6817, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 64.08 kB / 0.5583 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.119, allocations: 76.19 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007529/0.1266, allocations: 6.708 MB / 0.6393 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.131, allocations: 3.044 MB / 0.6423 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.1314, allocations: 23.88 kB / 0.6423 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.1336, allocations: 0.9472 MB / 0.6432 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009352/0.1345, allocations: 0.5285 MB / 0.6437 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008551/0.1354, allocations: 422.5 kB / 0.6441 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1364, allocations: 1.224 MB / 0.6453 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007846/0.1372, allocations: 0.666 MB / 0.646 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.1377, allocations: 478.3 kB / 0.6464 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.1383, allocations: 0.5253 MB / 0.6469 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.522e-05/0.1384, allocations: 64 kB / 0.647 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.1389, allocations: 379.3 kB / 0.6474 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.1392, allocations: 311.2 kB / 0.6477 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.1396, allocations: 453.7 kB / 0.6481 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.1407, allocations: 1.207 MB / 0.6493 GB, free: 3.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1407, allocations: 0 / 0.6493 GB, free: 3.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1407, allocations: 0 / 0.6493 GB, free: 3.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.1407, allocations: 0 / 0.6493 GB, free: 3.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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001646/0.1424, allocations: 1.169 MB / 0.6504 GB, free: 2.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1424, allocations: 8.031 kB / 0.6504 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.1439, allocations: 235.6 kB / 0.6506 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.1447, allocations: 0.5882 MB / 0.6512 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1447, allocations: 53.67 kB / 0.6513 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/0.1448, allocations: 76.19 kB / 0.6513 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.1462, allocations: 1.085 MB / 0.6524 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.1462, allocations: 7.938 kB / 0.6524 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.1463, allocations: 31.98 kB / 0.6524 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.1464, allocations: 85.25 kB / 0.6525 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1475, allocations: 0.7543 MB / 0.6533 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/0.1521, allocations: 5.862 MB / 0.659 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.1531, allocations: 0.56 MB / 0.6595 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.1535, allocations: 326 kB / 0.6598 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1535, allocations: 8.422 kB / 0.6599 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1535, allocations: 42.94 kB / 0.6599 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.843e-06/0.1535, allocations: 0 / 0.6599 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003503/0.157, allocations: 1.978 MB / 0.6618 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1571, allocations: 59.84 kB / 0.6619 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.1577, allocations: 0.5586 MB / 0.6624 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1577, allocations: 33.7 kB / 0.6625 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.1579, allocations: 411 kB / 0.6629 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1581, allocations: 173.5 kB / 0.663 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.1582, allocations: 118.6 kB / 0.6631 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1584, allocations: 378.7 kB / 0.6635 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.1588, allocations: 281.8 kB / 0.6638 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.1593, allocations: 497 kB / 0.6642 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009274/0.1602, allocations: 0.8054 MB / 0.665 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1603, allocations: 0 / 0.665 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001656/0.1619, allocations: 1.087 MB / 0.6661 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1619, allocations: 12 kB / 0.6661 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.162, allocations: 11.94 kB / 0.6661 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007714/0.1627, allocations: 287.1 kB / 0.6664 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.1632, allocations: 127.8 kB / 0.6665 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/0.1692, allocations: 7.127 MB / 0.6735 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.1697, allocations: 40.16 kB / 0.6735 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.1698, allocations: 28 kB / 0.6735 GB, free: 8.988 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003227/0.1701, allocations: 265.4 kB / 0.6738 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.1702, allocations: 71.16 kB / 0.6738 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.1717, allocations: 0.8925 MB / 0.6747 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1717, allocations: 4 kB / 0.6747 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1717, allocations: 4 kB / 0.6747 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1717, allocations: 3.984 kB / 0.6747 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.174, allocations: 1.721 MB / 0.6764 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1741, allocations: 4 kB / 0.6764 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.1743, allocations: 63.83 kB / 0.6765 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000694/0.175, allocations: 267.2 kB / 0.6767 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.175, allocations: 8 kB / 0.6767 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005861/0.1809, allocations: 7.118 MB / 0.6837 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1809, allocations: 7.969 kB / 0.6837 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.1824, allocations: 0.9796 MB / 0.6847 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.1826, allocations: 192.2 kB / 0.6848 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.1827, allocations: 8.188 kB / 0.6848 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.1831, allocations: 43.89 kB / 0.6849 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/0.1832, allocations: 43.72 kB / 0.6849 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.1832, allocations: 16 kB / 0.6849 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003899/0.1836, allocations: 383.1 kB / 0.6853 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1836, allocations: 4 kB / 0.6853 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007085/0.1843, allocations: 224 kB / 0.6855 GB, free: 11.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.1845, allocations: 115.2 kB / 0.6856 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.1862, allocations: 1.271 MB / 0.6869 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1863, allocations: 8 kB / 0.6869 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.1874, allocations: 0.8896 MB / 0.6878 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.1883, allocations: 219.7 kB / 0.688 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1902, allocations: 1.391 MB / 0.6893 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.1908, allocations: 1.005 MB / 0.6903 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.1909, allocations: 47.42 kB / 0.6903 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1909, allocations: 0 / 0.6903 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of Templates: time 0.02015/0.2111, allocations: 20.7 MB / 0.7106 GB, free: 2.168 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)