Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9329/0.9329, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001635/0.001635, allocations: 246.4 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7167/0.7167, allocations: 138.4 MB / 402.2 MB, free: 0.5625 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.297e-05, allocations: 7.656 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006163/0.006186, allocations: 4.123 MB / 466.4 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.009481, allocations: 1.566 MB / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003936/0.009875, allocations: 37.31 kB / 468 MB, free: 12.95 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006084/0.01048, allocations: 174.7 kB / 468.2 MB, free: 12.78 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008121/0.0113, allocations: 369.6 kB / 468.6 MB, free: 12.42 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000779/0.01207, allocations: 338.3 kB / 468.9 MB, free: 12.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.01319, allocations: 0.9973 MB / 469.9 MB, free: 11.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.01381, allocations: 412.3 kB / 470.3 MB, free: 10.7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008198/0.01463, allocations: 0.5227 MB / 470.8 MB, free: 10.17 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006183/0.01525, allocations: 368.4 kB / 471.2 MB, free: 9.812 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.549e-05/0.01535, allocations: 48 kB / 471.2 MB, free: 9.766 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.01562, allocations: 128.5 kB / 471.4 MB, free: 9.641 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.01586, allocations: 267.2 kB / 471.6 MB, free: 9.379 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.01614, allocations: 239.9 kB / 471.9 MB, free: 9.145 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007233/0.01686, allocations: 0.5955 MB / 472.4 MB, free: 8.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01686, allocations: 1.25 kB / 472.5 MB, free: 8.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01686, allocations: 0 / 472.5 MB, free: 8.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.01688, allocations: 0 / 472.5 MB, free: 8.547 MB / 426.7 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.001409/0.01829, allocations: 0.8431 MB / 473.3 MB, free: 7.684 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.01833, allocations: 9.625 kB / 473.3 MB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.01934, allocations: 241.8 kB / 473.5 MB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.02002, allocations: 442.4 kB / 474 MB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.02006, allocations: 43.7 kB / 474 MB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.0202, allocations: 56.53 kB / 474.1 MB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.02091, allocations: 0.6926 MB / 474.8 MB, free: 6.086 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.02093, allocations: 12.06 kB / 474.8 MB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.02098, allocations: 28.91 kB / 474.8 MB, free: 6.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.02112, allocations: 60.95 kB / 474.9 MB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.02147, allocations: 210.7 kB / 475.1 MB, free: 5.785 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.02422, allocations: 3.02 MB / 478.1 MB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.02448, allocations: 159.5 kB / 478.2 MB, free: 2.496 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.0246, allocations: 74.23 kB / 478.3 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.02463, allocations: 8.281 kB / 478.3 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.02466, allocations: 36.16 kB / 478.4 MB, free: 2.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.02466, allocations: 0 / 478.4 MB, free: 2.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.002388/0.02705, allocations: 0.9906 MB / 479.4 MB, free: 1.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.02708, allocations: 59.34 kB / 479.4 MB, free: 1.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.02763, allocations: 399 kB / 479.8 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.02766, allocations: 35.11 kB / 479.8 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.02782, allocations: 309.4 kB / 480.1 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.02791, allocations: 134.8 kB / 480.3 MB, free: 412 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.02804, allocations: 94.25 kB / 480.4 MB, free: 312 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.02816, allocations: 363.3 kB / 480.7 MB, free: 15.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.02828, allocations: 68.67 kB / 480.8 MB, free: 15.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.02848, allocations: 220.2 kB / 481 MB, free: 15.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.02886, allocations: 348.1 kB / 481.3 MB, free: 15.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.02886, allocations: 4 kB / 481.3 MB, free: 15.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000699/0.02956, allocations: 421.5 kB / 481.8 MB, free: 14.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.02958, allocations: 8 kB / 481.8 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.02959, allocations: 4 kB / 481.8 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.03014, allocations: 161 kB / 481.9 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.03047, allocations: 100.8 kB / 482 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.03259, allocations: 2.637 MB / 484.7 MB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.03287, allocations: 15.58 kB / 484.7 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.0329, allocations: 27.97 kB / 484.7 MB, free: 11.63 MB / 442.7 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.03308, allocations: 150.7 kB / 484.8 MB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.03316, allocations: 43.95 kB / 484.9 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.03375, allocations: 326 kB / 485.2 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.03375, allocations: 4 kB / 485.2 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.03376, allocations: 6.25 kB / 485.2 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.03376, allocations: 3.984 kB / 485.2 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.03486, allocations: 0.6894 MB / 485.9 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.03486, allocations: 4.656 kB / 485.9 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.03508, allocations: 55.91 kB / 486 MB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/0.03558, allocations: 144.1 kB / 486.1 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.0356, allocations: 11.98 kB / 486.1 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.03778, allocations: 2.628 MB / 488.7 MB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.03779, allocations: 7.938 kB / 488.8 MB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.03849, allocations: 0.5185 MB / 489.3 MB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.03863, allocations: 68.73 kB / 489.3 MB, free: 6.707 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.03868, allocations: 8 kB / 489.3 MB, free: 6.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.03887, allocations: 8.812 kB / 489.4 MB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.03893, allocations: 37.64 kB / 489.4 MB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.03895, allocations: 8 kB / 489.4 MB, free: 6.648 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.03912, allocations: 173.6 kB / 489.6 MB, free: 6.477 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03912, allocations: 0 / 489.6 MB, free: 6.477 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.0397, allocations: 156 kB / 489.7 MB, free: 6.324 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.03983, allocations: 86.58 kB / 489.8 MB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000724/0.04056, allocations: 0.5087 MB / 490.3 MB, free: 5.699 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.04057, allocations: 8 kB / 490.3 MB, free: 5.691 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.04099, allocations: 401.8 kB / 490.7 MB, free: 5.273 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.04166, allocations: 168.2 kB / 490.9 MB, free: 5.133 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.04346, allocations: 1.063 MB / 491.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.04362, allocations: 178.3 kB / 492.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.04386, allocations: 61.25 kB / 492.2 MB, free: 3.809 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.04421, allocations: 173.3 kB / 492.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of SimCode: time 7.42e-07/0.04421, allocations: 0.5312 kB / 492.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of Templates: time 0.01487/0.05908, allocations: 8.558 MB / 0.4892 GB, free: 11.52 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.673569387756288]