Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001364/0.001364, allocations: 106.3 kB / 15.99 MB, free: 6.359 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.001439/0.001439, allocations: 191.4 kB / 16.91 MB, free: 6.195 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7675/0.7675, allocations: 122.9 MB / 413.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.4906 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4034, allocations: 77.92 MB / 0.5667 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007327/0.4108, allocations: 5.539 MB / 0.5721 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.415, allocations: 2.617 MB / 0.5747 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004736/0.4155, allocations: 23.81 kB / 0.5747 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.4172, allocations: 0.6348 MB / 0.5753 GB, free: 26.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.4183, allocations: 385.3 kB / 0.5757 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000997/0.4193, allocations: 369.7 kB / 0.5761 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.4203, allocations: 0.9622 MB / 0.577 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007393/0.4211, allocations: 0.5206 MB / 0.5775 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.4216, allocations: 368 kB / 0.5779 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.4221, allocations: 430.8 kB / 0.5783 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.874e-05/0.4222, allocations: 48.75 kB / 0.5783 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006772/0.4229, allocations: 355 kB / 0.5787 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.4231, allocations: 249.9 kB / 0.5789 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.4235, allocations: 354.4 kB / 0.5792 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.4247, allocations: 0.9865 MB / 0.5802 GB, free: 24.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.4247, allocations: 1.219 kB / 0.5802 GB, free: 24.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4247, allocations: 0.6875 kB / 0.5802 GB, free: 24.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4247, allocations: 0 / 0.5802 GB, free: 24.57 MB / 446.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.001486/0.4262, allocations: 0.985 MB / 0.5812 GB, free: 23.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4263, allocations: 9.281 kB / 0.5812 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.4277, allocations: 192.3 kB / 0.5814 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.4283, allocations: 0.4986 MB / 0.5818 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4283, allocations: 34.12 kB / 0.5819 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.4284, allocations: 55.98 kB / 0.5819 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.4295, allocations: 0.8284 MB / 0.5827 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.4295, allocations: 5.531 kB / 0.5827 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.4296, allocations: 22.75 kB / 0.5828 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/0.4298, allocations: 66.94 kB / 0.5828 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.4306, allocations: 0.5734 MB / 0.5834 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/0.4341, allocations: 4.583 MB / 0.5879 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.4345, allocations: 293 kB / 0.5881 GB, free: 17.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.4348, allocations: 226.2 kB / 0.5884 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.4349, allocations: 4.625 kB / 0.5884 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4349, allocations: 37.22 kB / 0.5884 GB, free: 17.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.4349, allocations: 0 / 0.5884 GB, free: 17.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005333/0.4402, allocations: 2.634 MB / 0.591 GB, free: 16.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.4403, allocations: 55.84 kB / 0.591 GB, free: 15.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.4408, allocations: 465 kB / 0.5915 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4408, allocations: 31.11 kB / 0.5915 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.441, allocations: 348.5 kB / 0.5918 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.4411, allocations: 144.2 kB / 0.592 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.4412, allocations: 105.6 kB / 0.5921 GB, free: 15.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.4413, allocations: 364.4 kB / 0.5924 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.4416, allocations: 238.7 kB / 0.5926 GB, free: 14.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.442, allocations: 407.5 kB / 0.593 GB, free: 14.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.4427, allocations: 0.6764 MB / 0.5937 GB, free: 13.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4428, allocations: 1.125 kB / 0.5937 GB, free: 13.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001571/0.4443, allocations: 0.9215 MB / 0.5946 GB, free: 13.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4444, allocations: 10.64 kB / 0.5946 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4444, allocations: 5.219 kB / 0.5946 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007772/0.4452, allocations: 231 kB / 0.5948 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.4457, allocations: 120.1 kB / 0.5949 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/0.4495, allocations: 5.338 MB / 0.6002 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.4501, allocations: 31.97 kB / 0.6002 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.4501, allocations: 20.06 kB / 0.6002 GB, free: 7.418 MB / 446.1 MB 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.0003294/0.4505, allocations: 225.8 kB / 0.6004 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.4505, allocations: 63.27 kB / 0.6005 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.4519, allocations: 0.7621 MB / 0.6012 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4519, allocations: 11.98 kB / 0.6012 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4519, allocations: 4 kB / 0.6012 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4519, allocations: 0 / 0.6012 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.454, allocations: 1.506 MB / 0.6027 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.454, allocations: 0 / 0.6027 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.4544, allocations: 71.88 kB / 0.6028 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006397/0.455, allocations: 206.5 kB / 0.603 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.4551, allocations: 8 kB / 0.603 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004009/0.4591, allocations: 5.285 MB / 0.6081 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.4591, allocations: 7.969 kB / 0.6082 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.461, allocations: 1.137 MB / 0.6093 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.4613, allocations: 168.4 kB / 0.6094 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.4614, allocations: 19.92 kB / 0.6094 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.4617, allocations: 23.97 kB / 0.6095 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4619, allocations: 35.89 kB / 0.6095 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.4619, allocations: 16.06 kB / 0.6095 GB, free: 13.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003588/0.4623, allocations: 314.9 kB / 0.6098 GB, free: 12.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4623, allocations: 0 / 0.6098 GB, free: 12.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007553/0.463, allocations: 168 kB / 0.61 GB, free: 12.8 MB / 462.1 MB 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.0001593/0.4632, allocations: 119.1 kB / 0.6101 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.465, allocations: 1.059 MB / 0.6111 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.465, allocations: 0 / 0.6111 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.4661, allocations: 0.6876 MB / 0.6118 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.467, allocations: 188 kB / 0.612 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.4693, allocations: 1.519 MB / 0.6135 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.4699, allocations: 0.9494 MB / 0.6144 GB, free: 8.133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000395/0.4704, allocations: 117 kB / 0.6145 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4705, allocations: 39.44 kB / 0.6145 GB, free: 7.977 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4705, allocations: 0 / 0.6145 GB, free: 7.977 MB / 462.1 MB Notification: Performance of Templates: time 0.01606/0.4865, allocations: 8.907 MB / 0.6232 GB, free: 15.21 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)