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.001269/0.001269, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001357/0.001357, allocations: 196 kB / 17.34 MB, free: 5.719 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.265/1.265, allocations: 222.9 MB / 241 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.6796/0.6796, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 74.5 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1302, allocations: 76.18 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006208/0.1365, allocations: 5.445 MB / 0.6374 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.1401, allocations: 2.622 MB / 0.64 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.1404, allocations: 23.88 kB / 0.64 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.142, allocations: 0.6807 MB / 0.6406 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000794/0.1428, allocations: 409.7 kB / 0.641 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.1437, allocations: 392.8 kB / 0.6414 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008957/0.1446, allocations: 0.9513 MB / 0.6423 GB, free: 9.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.1452, allocations: 470.4 kB / 0.6428 GB, free: 9.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.1456, allocations: 374.6 kB / 0.6431 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.1461, allocations: 402.4 kB / 0.6435 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.1462, allocations: 48 kB / 0.6436 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.1468, allocations: 367.2 kB / 0.6439 GB, free: 8.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.147, allocations: 251.3 kB / 0.6442 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.1473, allocations: 346.3 kB / 0.6445 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009108/0.1482, allocations: 0.9772 MB / 0.6454 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1482, allocations: 4 kB / 0.6455 GB, free: 6.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1482, allocations: 0 / 0.6455 GB, free: 6.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1482, allocations: 0 / 0.6455 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.00144/0.1497, allocations: 0.9698 MB / 0.6464 GB, free: 5.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1497, allocations: 8.031 kB / 0.6464 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.151, allocations: 195.8 kB / 0.6466 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.1517, allocations: 0.5102 MB / 0.6471 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.1517, allocations: 45.36 kB / 0.6471 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.1519, allocations: 52.56 kB / 0.6472 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.153, allocations: 0.8317 MB / 0.648 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.153, allocations: 11.94 kB / 0.648 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.1531, allocations: 19.98 kB / 0.648 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.1533, allocations: 68.89 kB / 0.6481 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.1541, allocations: 0.5697 MB / 0.6487 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.1583, allocations: 4.569 MB / 0.6531 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.1588, allocations: 299.1 kB / 0.6534 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.159, allocations: 229.3 kB / 0.6536 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1591, allocations: 288 / 0.6536 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1591, allocations: 38.84 kB / 0.6537 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 9.92e-07/0.1591, allocations: 0 / 0.6537 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.00499/0.1641, allocations: 2.631 MB / 0.6562 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1641, allocations: 55.41 kB / 0.6563 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.1646, allocations: 457.9 kB / 0.6567 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.1647, allocations: 33.7 kB / 0.6567 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.1649, allocations: 339.6 kB / 0.6571 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.165, allocations: 145.9 kB / 0.6572 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.1652, allocations: 102.2 kB / 0.6573 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1653, allocations: 366.8 kB / 0.6577 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.1657, allocations: 229 kB / 0.6579 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.1661, allocations: 410.4 kB / 0.6583 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008233/0.1669, allocations: 0.6779 MB / 0.6589 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1669, allocations: 4 kB / 0.6589 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00154/0.1685, allocations: 0.921 MB / 0.6598 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1685, allocations: 8 kB / 0.6598 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1685, allocations: 8 kB / 0.6598 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007066/0.1692, allocations: 222.7 kB / 0.6601 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.1697, allocations: 115.8 kB / 0.6602 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004873/0.1746, allocations: 5.343 MB / 0.6654 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.175, allocations: 35.91 kB / 0.6654 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.175, allocations: 20 kB / 0.6654 GB, free: 0.8672 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.0002726/0.1753, allocations: 229.7 kB / 0.6657 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.1754, allocations: 59.28 kB / 0.6657 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.1768, allocations: 0.7772 MB / 0.6665 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1768, allocations: 4 kB / 0.6665 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1768, allocations: 4 kB / 0.6665 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1768, allocations: 0 / 0.6665 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.179, allocations: 1.498 MB / 0.6679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.179, allocations: 4 kB / 0.6679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.1794, allocations: 67.88 kB / 0.668 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006/0.18, allocations: 210.4 kB / 0.6682 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.18, allocations: 8 kB / 0.6682 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004598/0.1847, allocations: 5.278 MB / 0.6734 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1847, allocations: 4 kB / 0.6734 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.1863, allocations: 1.131 MB / 0.6745 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.1865, allocations: 164.4 kB / 0.6746 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.1866, allocations: 19.92 kB / 0.6747 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.1869, allocations: 23.97 kB / 0.6747 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.187, allocations: 36.03 kB / 0.6747 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.187, allocations: 23.92 kB / 0.6747 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003269/0.1874, allocations: 306.9 kB / 0.675 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1874, allocations: 4.062 kB / 0.675 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006193/0.188, allocations: 168 kB / 0.6752 GB, free: 6.262 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.0001437/0.1881, allocations: 111.5 kB / 0.6753 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.1897, allocations: 1.016 MB / 0.6763 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1897, allocations: 4 kB / 0.6763 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.1906, allocations: 0.6721 MB / 0.677 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/0.1915, allocations: 191.5 kB / 0.6771 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1935, allocations: 1.248 MB / 0.6784 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.1941, allocations: 0.9416 MB / 0.6793 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003427/0.1945, allocations: 117 kB / 0.6794 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.1946, allocations: 35.44 kB / 0.6794 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1946, allocations: 0 / 0.6794 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of Templates: time 0.01523/0.2098, allocations: 8.954 MB / 0.6882 GB, free: 8.934 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)