Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 187.7 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 0.6367 GB, free: 9.559 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000805/0.0008049, allocations: 93.05 kB / 0.751 GB, free: 62.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 11.98 kB / 0.8748 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 116.3 MB / 0.9884 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7829/1.078, allocations: 188.9 MB / 1.173 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/1.079, allocations: 96.59 kB / 1.173 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07908/1.158, allocations: 31.98 MB / 1.204 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.417e-06/1.158, allocations: 0 / 1.204 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.738e-05/1.158, allocations: 23.98 kB / 1.204 GB, free: 9.367 MB / 0.7761 GB 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.001699/1.159, allocations: 0.8697 MB / 1.205 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.16, allocations: 8.031 kB / 1.205 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/1.161, allocations: 204.9 kB / 1.205 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/1.162, allocations: 0.4973 MB / 1.206 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/1.162, allocations: 34.2 kB / 1.206 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.162, allocations: 63.92 kB / 1.206 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.163, allocations: 0.8694 MB / 1.207 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/1.163, allocations: 3.938 kB / 1.207 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/1.164, allocations: 20 kB / 1.207 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/1.164, allocations: 48.97 kB / 1.207 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/1.164, allocations: 0.5658 MB / 1.207 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004567/1.169, allocations: 4.612 MB / 1.212 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/1.17, allocations: 292.1 kB / 1.212 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/1.17, allocations: 0 / 1.212 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.17, allocations: 42.55 kB / 1.212 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 1.132e-06/1.17, allocations: 0 / 1.212 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.005625/1.175, allocations: 2.633 MB / 1.215 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/1.175, allocations: 55.41 kB / 1.215 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/1.176, allocations: 401.2 kB / 1.215 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/1.176, allocations: 33.7 kB / 1.215 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/1.176, allocations: 335.8 kB / 1.216 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/1.176, allocations: 149.9 kB / 1.216 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/1.176, allocations: 8 kB / 1.216 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.177, allocations: 370.7 kB / 1.216 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/1.177, allocations: 229 kB / 1.216 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/1.178, allocations: 388.4 kB / 1.217 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/1.178, allocations: 289.5 kB / 1.217 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.178, allocations: 0 / 1.217 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001618/1.18, allocations: 0.9017 MB / 1.218 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.18, allocations: 4 kB / 1.218 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.18, allocations: 8 kB / 1.218 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007904/1.18, allocations: 226.9 kB / 1.218 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/1.181, allocations: 107.8 kB / 1.218 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/1.186, allocations: 5.006 MB / 1.223 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/1.187, allocations: 29.53 kB / 1.223 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/1.187, allocations: 20 kB / 1.223 GB, free: 4.906 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004028/1.187, allocations: 237.5 kB / 1.223 GB, free: 4.664 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/1.187, allocations: 59.28 kB / 1.223 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/1.189, allocations: 0.7756 MB / 1.224 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.189, allocations: 4 kB / 1.224 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.189, allocations: 8 kB / 1.224 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.189, allocations: 7.969 kB / 1.224 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/1.192, allocations: 1.474 MB / 1.226 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.192, allocations: 4 kB / 1.226 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/1.192, allocations: 63.89 kB / 1.226 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007322/1.193, allocations: 208.9 kB / 1.226 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/1.193, allocations: 12 kB / 1.226 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005356/1.198, allocations: 4.946 MB / 1.231 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.198, allocations: 0 / 1.231 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/1.2, allocations: 1.207 MB / 1.232 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/1.2, allocations: 176.4 kB / 1.232 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.201, allocations: 16.06 kB / 1.232 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/1.201, allocations: 23.97 kB / 1.232 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/1.201, allocations: 35.89 kB / 1.232 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/1.201, allocations: 12.5 kB / 1.232 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003884/1.201, allocations: 318.8 kB / 1.232 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.31e-07/1.201, allocations: 0 / 1.232 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008385/1.202, allocations: 179.9 kB / 1.233 GB, free: 10.55 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002184/1.203, allocations: 123.2 kB / 1.233 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001662/1.204, allocations: 0.996 MB / 1.234 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.204, allocations: 4.125 kB / 1.234 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009315/1.205, allocations: 0.6758 MB / 1.234 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/1.206, allocations: 162.3 kB / 1.234 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/1.208, allocations: 1.495 MB / 1.236 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/1.209, allocations: 0.961 MB / 1.237 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000422/1.209, allocations: 111.9 kB / 1.237 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/1.209, allocations: 35.44 kB / 1.237 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of SimCode: time 7.02e-07/1.209, allocations: 0 / 1.237 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of Templates: time 0.01629/1.226, allocations: 8.168 MB / 1.245 GB, free: 13.79 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)