Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.001373/0.001373, allocations: 80.75 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.001516/0.001516, 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 0.9745/0.9745, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.001672/0.001672, allocations: 253.6 kB / 260.5 MB, free: 12.68 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.758/0.758, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.158e-05, allocations: 3.703 kB / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01937/0.01939, allocations: 23.97 MB / 486.3 MB, free: 10.55 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.03214, allocations: 7.752 MB / 494.1 MB, free: 2.859 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.03461, allocations: 246.1 kB / 494.3 MB, free: 2.617 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.03629, allocations: 1.037 MB / 495.4 MB, free: 1.574 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004173/0.04047, allocations: 2.665 MB / 498 MB, free: 14.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.04398, allocations: 2.681 MB / 0.489 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.008094/0.05208, allocations: 11.5 MB / 0.5002 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006019/0.0581, allocations: 6.942 MB / 0.507 GB, free: 9.629 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006076/0.06417, allocations: 6.866 MB / 0.5137 GB, free: 2.754 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004747/0.06892, allocations: 5.251 MB / 0.5188 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.06995, allocations: 0.9453 MB / 0.5198 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.0715, allocations: 1.039 MB / 0.5208 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.07385, allocations: 3.999 MB / 0.5247 GB, free: 7.527 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002632/0.07648, allocations: 3.05 MB / 0.5277 GB, free: 4.473 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005548/0.08203, allocations: 7.429 MB / 0.5349 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.08204, allocations: 7.938 kB / 0.5349 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.724e-06/0.08204, allocations: 0.9688 kB / 0.5349 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001208/0.08216, allocations: 0 / 0.5349 GB, free: 13.02 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.007155/0.08931, allocations: 7.181 MB / 0.5419 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.08935, allocations: 8.75 kB / 0.5419 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.09434, allocations: 2.024 MB / 0.5439 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.09805, allocations: 3.417 MB / 0.5473 GB, free: 312 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.09826, allocations: 453 kB / 0.5477 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006518/0.09891, allocations: 0.6057 MB / 0.5483 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/0.1047, allocations: 6.337 MB / 0.5545 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.1049, allocations: 34.2 kB / 0.5545 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004403/0.1053, allocations: 256.3 kB / 0.5547 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001048/0.1063, allocations: 0.6066 MB / 0.5553 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.1093, allocations: 1.822 MB / 0.5571 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.1291, allocations: 23.11 MB / 0.5797 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.1307, allocations: 1.889 MB / 0.5815 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.1319, allocations: 1.159 MB / 0.5827 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.1321, allocations: 60.19 kB / 0.5827 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.1322, allocations: 77.34 kB / 0.5828 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=353): time 4.729e-06/0.1322, allocations: 0 / 0.5828 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=356): time 0.06444/0.1966, allocations: 25.12 MB / 0.6073 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1967, allocations: 86.2 kB / 0.6074 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.1982, allocations: 2.053 MB / 0.6094 GB, free: 15.31 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.1984, allocations: 89.7 kB / 0.6095 GB, free: 15.22 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008979/0.1993, allocations: 2.292 MB / 0.6117 GB, free: 12.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008054/0.2001, allocations: 1.274 MB / 0.613 GB, free: 11.61 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007144/0.2008, allocations: 0.6105 MB / 0.6136 GB, free: 11 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.2009, allocations: 309.1 kB / 0.6139 GB, free: 10.69 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.2016, allocations: 0.5517 MB / 0.6144 GB, free: 10.14 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.2027, allocations: 1.311 MB / 0.6157 GB, free: 8.52 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.2048, allocations: 2.252 MB / 0.6179 GB, free: 5.93 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.2048, allocations: 4 kB / 0.6179 GB, free: 5.926 MB / 0.573 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.007008/0.2118, allocations: 4.266 MB / 0.622 GB, free: 1.598 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2118, allocations: 16 kB / 0.6221 GB, free: 1.582 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.2119, allocations: 21.06 kB / 0.6221 GB, free: 1.562 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008175/0.22, allocations: 3.553 MB / 0.6256 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.2212, allocations: 0.4914 MB / 0.626 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/0.2414, allocations: 20.25 MB / 0.6458 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.2428, allocations: 100 kB / 0.6459 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.243, allocations: 112 kB / 0.646 GB, free: 8.258 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (7,71,71.4%), (6,40,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001131/0.2441, allocations: 319.9 kB / 0.6463 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/0.2448, allocations: 367.6 kB / 0.6467 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006544/0.2514, allocations: 4.045 MB / 0.6506 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.2514, allocations: 39.97 kB / 0.6507 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/0.2514, allocations: 47.88 kB / 0.6507 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.2515, allocations: 15.94 kB / 0.6507 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.2623, allocations: 6.712 MB / 0.6573 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.2623, allocations: 4 kB / 0.6573 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.2631, allocations: 275.6 kB / 0.6575 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008115/0.2712, allocations: 3.494 MB / 0.6609 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.2714, allocations: 67.98 kB / 0.661 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2252/0.4966, allocations: 20.21 MB / 0.6808 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4966, allocations: 9.688 kB / 0.6808 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008819/0.5054, allocations: 4.754 MB / 0.6854 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.5065, allocations: 0.6257 MB / 0.686 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000407/0.5069, allocations: 68.19 kB / 0.6861 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009456/0.5079, allocations: 67.44 kB / 0.6861 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009097/0.5088, allocations: 335.7 kB / 0.6865 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/0.5089, allocations: 70.69 kB / 0.6865 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008337/0.5098, allocations: 1.04 MB / 0.6875 GB, free: 158.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5098, allocations: 0 / 0.6875 GB, free: 158.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003166/0.5129, allocations: 1.787 MB / 0.6893 GB, free: 158.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (127): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (1,1,100.0%), (6,40,77.8%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003376/0.5133, allocations: 178.5 kB / 0.6895 GB, free: 158.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005118/0.5184, allocations: 4.654 MB / 0.694 GB, free: 156.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.145e-05/0.5184, allocations: 35.31 kB / 0.694 GB, free: 156.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003752/0.5222, allocations: 3.627 MB / 0.6976 GB, free: 155.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.5252, allocations: 1.562 MB / 0.6991 GB, free: 155.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.5363, allocations: 10.43 MB / 0.7093 GB, free: 151.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/0.5378, allocations: 1.719 MB / 0.711 GB, free: 151.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001111/0.5389, allocations: 439.7 kB / 0.7114 GB, free: 151.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/0.5404, allocations: 0.8946 MB / 0.7123 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.513e-06/0.5404, allocations: 0 / 0.7123 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.09739/0.6377, allocations: 103.5 MB / 0.8134 GB, free: 56.28 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.957043361850083]