Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001548/0.001548, allocations: 80.88 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.001749/0.001749, allocations: 181 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 1.073/1.073, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.001663/0.001663, allocations: 234.9 kB / 260.5 MB, free: 12.7 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.7557/0.7557, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 462.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.16e-05, allocations: 4.359 kB / 462.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01452/0.01454, allocations: 18.38 MB / 480.8 MB, free: 120 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.02744, allocations: 9.647 MB / 490.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.02976, allocations: 190.5 kB / 490.6 MB, free: 6.34 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.03142, allocations: 0.7831 MB / 491.4 MB, free: 5.551 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.03635, allocations: 2.592 MB / 494 MB, free: 2.965 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.03885, allocations: 1.602 MB / 495.6 MB, free: 1.367 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007287/0.04613, allocations: 7.719 MB / 0.4915 GB, free: 9.641 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005468/0.0516, allocations: 4.858 MB / 0.4962 GB, free: 4.637 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006/0.0576, allocations: 4.928 MB / 0.5011 GB, free: 15.71 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/0.0618, allocations: 3.173 MB / 0.5042 GB, free: 12.54 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.06294, allocations: 0.5898 MB / 0.5047 GB, free: 11.95 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.06424, allocations: 0.6765 MB / 0.5054 GB, free: 11.28 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.06611, allocations: 2.549 MB / 0.5079 GB, free: 8.723 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00283/0.06894, allocations: 1.996 MB / 0.5098 GB, free: 6.723 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.07333, allocations: 4.847 MB / 0.5146 GB, free: 1.863 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.07334, allocations: 3.984 kB / 0.5146 GB, free: 1.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.07334, allocations: 1 kB / 0.5146 GB, free: 1.859 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001842/0.07352, allocations: 0 / 0.5146 GB, free: 1.859 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005548/0.07907, allocations: 4.84 MB / 0.5193 GB, free: 12.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.07911, allocations: 16.69 kB / 0.5193 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.08281, allocations: 1.279 MB / 0.5206 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/0.08619, allocations: 2.369 MB / 0.5229 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.08635, allocations: 316.8 kB / 0.5232 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004574/0.08681, allocations: 436.2 kB / 0.5236 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/0.09129, allocations: 4.162 MB / 0.5277 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.273e-05/0.09138, allocations: 19.81 kB / 0.5277 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.09165, allocations: 185.6 kB / 0.5279 GB, free: 3.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000405/0.09205, allocations: 320.1 kB / 0.5282 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.094, allocations: 1.125 MB / 0.5293 GB, free: 2.258 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01414/0.1081, allocations: 15.2 MB / 0.5441 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.1087, allocations: 0.4891 MB / 0.5446 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.1092, allocations: 414 kB / 0.545 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.1093, allocations: 22 kB / 0.545 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1093, allocations: 51.88 kB / 0.545 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=130): time 3.146e-06/0.1093, allocations: 0.5312 kB / 0.545 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of matching and sorting (n=133): time 0.007192/0.1165, allocations: 3.928 MB / 0.5489 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.1165, allocations: 64.72 kB / 0.5489 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.1176, allocations: 1.551 MB / 0.5505 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.1177, allocations: 45.7 kB / 0.5505 GB, free: 12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007707/0.1185, allocations: 1.755 MB / 0.5522 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.1187, allocations: 487.7 kB / 0.5527 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.119, allocations: 311.2 kB / 0.553 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.1191, allocations: 309.1 kB / 0.5533 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.1194, allocations: 211.9 kB / 0.5535 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.1199, allocations: 0.7563 MB / 0.5542 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1209, allocations: 1.164 MB / 0.5553 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.1209, allocations: 8 kB / 0.5554 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002388/0.1233, allocations: 1.637 MB / 0.557 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1233, allocations: 12 kB / 0.557 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.1233, allocations: 20 kB / 0.557 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.1253, allocations: 0.8454 MB / 0.5578 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.126, allocations: 339.5 kB / 0.5581 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007554/0.1336, allocations: 12.55 MB / 0.5704 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/0.1344, allocations: 52 kB / 0.5704 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.1345, allocations: 63.94 kB / 0.5705 GB, free: 6.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,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.0007656/0.1353, allocations: 236 kB / 0.5707 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.1355, allocations: 195.8 kB / 0.5709 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.1375, allocations: 1.368 MB / 0.5722 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1375, allocations: 12 kB / 0.5723 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.1376, allocations: 8 kB / 0.5723 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.1376, allocations: 3.984 kB / 0.5723 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.1418, allocations: 2.933 MB / 0.5751 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1418, allocations: 7.938 kB / 0.5751 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.1422, allocations: 174.8 kB / 0.5753 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.144, allocations: 0.802 MB / 0.5761 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.1441, allocations: 32 kB / 0.5761 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007989/0.1521, allocations: 12.55 MB / 0.5884 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1521, allocations: 7.938 kB / 0.5884 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.1542, allocations: 1.494 MB / 0.5898 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/0.1548, allocations: 306.3 kB / 0.5901 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.1549, allocations: 28 kB / 0.5902 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.1554, allocations: 28 kB / 0.5902 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.1557, allocations: 128.7 kB / 0.5903 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.1557, allocations: 34.33 kB / 0.5903 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000614/0.1563, allocations: 0.7779 MB / 0.5911 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.1563, allocations: 0 / 0.5911 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001773/0.1581, allocations: 0.8477 MB / 0.5919 GB, free: 14.97 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.1583, allocations: 128.2 kB / 0.592 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.1608, allocations: 2.265 MB / 0.5943 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.564e-05/0.1608, allocations: 29.81 kB / 0.5943 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.1624, allocations: 1.79 MB / 0.596 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.1641, allocations: 0.8882 MB / 0.5969 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008765/0.1729, allocations: 6.677 MB / 0.6034 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009432/0.1738, allocations: 1.05 MB / 0.6045 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009864/0.1748, allocations: 304.3 kB / 0.6047 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.176, allocations: 0.6786 MB / 0.6054 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of SimCode: time 2.094e-06/0.176, allocations: 0 / 0.6054 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of Templates: time 0.05955/0.2355, allocations: 47.74 MB / 0.652 GB, free: 2.316 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.550650196149945]