Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001552/0.001552, allocations: 117.9 kB / 17.09 MB, free: 6 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.001855/0.001855, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.494/1.494, 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.7303/0.7303, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.16 kB / 0.5583 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 76.18 MB / 0.6327 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008435/0.1583, allocations: 6.781 MB / 0.6394 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005414/0.1637, allocations: 3.067 MB / 0.6424 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007195/0.1645, allocations: 27.81 kB / 0.6424 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.1672, allocations: 0.9509 MB / 0.6433 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.1687, allocations: 0.5012 MB / 0.6438 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.17, allocations: 442.4 kB / 0.6442 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.1717, allocations: 1.236 MB / 0.6454 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.1728, allocations: 0.6582 MB / 0.6461 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007944/0.1736, allocations: 482.2 kB / 0.6465 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/0.1745, allocations: 0.5176 MB / 0.647 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.1747, allocations: 68 kB / 0.6471 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.1756, allocations: 375.3 kB / 0.6475 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.176, allocations: 311.1 kB / 0.6478 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005907/0.1766, allocations: 457.7 kB / 0.6482 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.1782, allocations: 1.215 MB / 0.6494 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.1783, allocations: 4 kB / 0.6494 GB, free: 3.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1783, allocations: 3.938 kB / 0.6494 GB, free: 3.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.027e-05/0.1783, allocations: 0 / 0.6494 GB, free: 3.395 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.002366/0.1807, allocations: 1.161 MB / 0.6505 GB, free: 2.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1808, allocations: 11.97 kB / 0.6505 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.1824, allocations: 247.5 kB / 0.6508 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1835, allocations: 0.6076 MB / 0.6514 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.1836, allocations: 45.69 kB / 0.6514 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.1837, allocations: 64.36 kB / 0.6515 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.1855, allocations: 1.089 MB / 0.6525 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.1855, allocations: 3.938 kB / 0.6525 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.1856, allocations: 35.98 kB / 0.6526 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.1858, allocations: 89.23 kB / 0.6526 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1871, allocations: 0.7504 MB / 0.6534 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005804/0.1929, allocations: 5.885 MB / 0.6591 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009851/0.1939, allocations: 0.5555 MB / 0.6597 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.1944, allocations: 330 kB / 0.66 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.1944, allocations: 4.438 kB / 0.66 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1944, allocations: 39 kB / 0.66 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.885e-06/0.1945, allocations: 4 kB / 0.66 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003992/0.1985, allocations: 1.982 MB / 0.662 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1985, allocations: 55.84 kB / 0.662 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.1993, allocations: 0.5626 MB / 0.6626 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.1993, allocations: 37.7 kB / 0.6626 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.1996, allocations: 415 kB / 0.663 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.1998, allocations: 173.6 kB / 0.6632 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.2, allocations: 122.5 kB / 0.6633 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2002, allocations: 378.7 kB / 0.6636 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.2006, allocations: 273.8 kB / 0.6639 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005373/0.2011, allocations: 497 kB / 0.6644 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2022, allocations: 0.8093 MB / 0.6652 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.2022, allocations: 4 kB / 0.6652 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001863/0.204, allocations: 1.091 MB / 0.6662 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2041, allocations: 8 kB / 0.6662 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2041, allocations: 8 kB / 0.6663 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008495/0.2049, allocations: 275.3 kB / 0.6665 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.2055, allocations: 127.7 kB / 0.6666 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006923/0.2124, allocations: 7.13 MB / 0.6736 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/0.2131, allocations: 43.89 kB / 0.6736 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/0.2132, allocations: 28 kB / 0.6737 GB, free: 8.93 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.0004339/0.2136, allocations: 257.4 kB / 0.6739 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.2138, allocations: 79.22 kB / 0.674 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2154, allocations: 0.8925 MB / 0.6749 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2155, allocations: 4 kB / 0.6749 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.2155, allocations: 4.188 kB / 0.6749 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.2155, allocations: 7.984 kB / 0.6749 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.2181, allocations: 1.724 MB / 0.6766 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2181, allocations: 4 kB / 0.6766 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.2184, allocations: 67.83 kB / 0.6766 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007441/0.2192, allocations: 259.4 kB / 0.6769 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.2192, allocations: 12 kB / 0.6769 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006728/0.2259, allocations: 7.127 MB / 0.6839 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.226, allocations: 0 / 0.6839 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.2276, allocations: 0.9834 MB / 0.6848 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.228, allocations: 192.2 kB / 0.685 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.2281, allocations: 16 kB / 0.685 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.2285, allocations: 31.89 kB / 0.685 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2287, allocations: 39.95 kB / 0.6851 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.2287, allocations: 12 kB / 0.6851 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004909/0.2292, allocations: 395.1 kB / 0.6855 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2292, allocations: 3.938 kB / 0.6855 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008224/0.23, allocations: 220 kB / 0.6857 GB, free: 11.88 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.0001502/0.2302, allocations: 115.2 kB / 0.6858 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.2322, allocations: 1.279 MB / 0.687 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.2322, allocations: 0 / 0.687 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.2334, allocations: 0.8897 MB / 0.6879 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.2344, allocations: 226.4 kB / 0.6881 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.2367, allocations: 1.404 MB / 0.6895 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.2373, allocations: 1.013 MB / 0.6905 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.2375, allocations: 43.44 kB / 0.6905 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.2375, allocations: 4 kB / 0.6905 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of Templates: time 0.0237/0.2612, allocations: 20.91 MB / 0.711 GB, free: 1.855 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)