Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001193/0.001193, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.243/1.243, 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.6865/0.6865, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 66.62 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1182, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006633/0.1248, allocations: 5.443 MB / 0.638 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.1289, allocations: 2.63 MB / 0.6406 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.1293, allocations: 19.88 kB / 0.6406 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.1311, allocations: 0.6796 MB / 0.6413 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009244/0.132, allocations: 421.8 kB / 0.6417 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.1329, allocations: 395.1 kB / 0.6421 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.1339, allocations: 0.9552 MB / 0.643 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006102/0.1346, allocations: 474.4 kB / 0.6435 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.1351, allocations: 374.6 kB / 0.6438 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.1356, allocations: 402.4 kB / 0.6442 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.1357, allocations: 48 kB / 0.6443 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.1362, allocations: 363.3 kB / 0.6446 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.1365, allocations: 247.3 kB / 0.6448 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.1368, allocations: 350.2 kB / 0.6452 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000918/0.1377, allocations: 0.9734 MB / 0.6461 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1377, allocations: 0 / 0.6461 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1377, allocations: 4 kB / 0.6461 GB, free: 6.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1377, allocations: 0 / 0.6461 GB, free: 6.656 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001386/0.1391, allocations: 0.9737 MB / 0.6471 GB, free: 5.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1392, allocations: 12.03 kB / 0.6471 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.1405, allocations: 191.8 kB / 0.6473 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006707/0.1412, allocations: 0.5179 MB / 0.6478 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.1412, allocations: 37.36 kB / 0.6478 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.1414, allocations: 56.55 kB / 0.6479 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1424, allocations: 0.8241 MB / 0.6487 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.1424, allocations: 3.938 kB / 0.6487 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.1425, allocations: 27.98 kB / 0.6487 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.1427, allocations: 68.94 kB / 0.6488 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.1435, allocations: 0.5735 MB / 0.6493 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.1474, allocations: 4.573 MB / 0.6538 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.1478, allocations: 295.2 kB / 0.6541 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.1481, allocations: 225.3 kB / 0.6543 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1482, allocations: 4.281 kB / 0.6543 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1482, allocations: 42.84 kB / 0.6543 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.487e-06/0.1482, allocations: 4 kB / 0.6543 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005127/0.1533, allocations: 2.615 MB / 0.6569 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.1534, allocations: 59.41 kB / 0.6569 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.1538, allocations: 457.9 kB / 0.6574 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.1539, allocations: 33.7 kB / 0.6574 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1541, allocations: 343.6 kB / 0.6577 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1542, allocations: 145.9 kB / 0.6579 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.1543, allocations: 106.2 kB / 0.658 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1545, allocations: 362.8 kB / 0.6583 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.1548, allocations: 233 kB / 0.6585 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.1552, allocations: 411 kB / 0.6589 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.156, allocations: 0.674 MB / 0.6596 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.156, allocations: 0 / 0.6596 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001536/0.1576, allocations: 0.9248 MB / 0.6605 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1576, allocations: 11.94 kB / 0.6605 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.1576, allocations: 4 kB / 0.6605 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007276/0.1584, allocations: 230.8 kB / 0.6607 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.1589, allocations: 119.8 kB / 0.6609 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004672/0.1635, allocations: 5.328 MB / 0.6661 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.164, allocations: 35.97 kB / 0.6661 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.164, allocations: 23.94 kB / 0.6661 GB, free: 0.8633 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002722/0.1643, allocations: 229.7 kB / 0.6663 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.1644, allocations: 59.28 kB / 0.6664 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.1658, allocations: 0.7733 MB / 0.6671 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1658, allocations: 4 kB / 0.6671 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1658, allocations: 4 kB / 0.6672 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1659, allocations: 0 / 0.6672 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.168, allocations: 1.498 MB / 0.6686 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1681, allocations: 0 / 0.6686 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.1684, allocations: 71.88 kB / 0.6687 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006288/0.1691, allocations: 206.7 kB / 0.6689 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1691, allocations: 16 kB / 0.6689 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/0.1736, allocations: 5.278 MB / 0.674 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1736, allocations: 3.938 kB / 0.6741 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.1752, allocations: 1.128 MB / 0.6752 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.1754, allocations: 168.4 kB / 0.6753 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.1755, allocations: 15.92 kB / 0.6753 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.1758, allocations: 23.97 kB / 0.6754 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.1759, allocations: 39.89 kB / 0.6754 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.1759, allocations: 15.94 kB / 0.6754 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003138/0.1763, allocations: 314.9 kB / 0.6757 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1763, allocations: 0 / 0.6757 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000598/0.1769, allocations: 164 kB / 0.6759 GB, free: 6.266 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.177, allocations: 117.4 kB / 0.676 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.1785, allocations: 1.02 MB / 0.677 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1785, allocations: 0 / 0.677 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.1794, allocations: 0.676 MB / 0.6776 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/0.1802, allocations: 187.4 kB / 0.6778 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.182, allocations: 1.304 MB / 0.6791 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.1825, allocations: 0.9533 MB / 0.68 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1826, allocations: 39.44 kB / 0.6801 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1826, allocations: 4 kB / 0.6801 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of Templates: time 0.01562/0.1982, allocations: 14.82 MB / 0.6945 GB, free: 3.031 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)