Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001066/0.001066, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.00126/0.00126, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9615/0.9615, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.001636/0.001636, allocations: 249.8 kB / 260.5 MB, free: 12.67 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.7121/0.7121, allocations: 138.4 MB / 455.5 MB, free: 1.402 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5556 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.42e-05, allocations: 8.844 kB / 0.5556 GB, free: 228 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02844/0.02846, allocations: 19.48 MB / 0.5746 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00937/0.03783, allocations: 5.589 MB / 0.5801 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.04039, allocations: 190.6 kB / 0.5803 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.04233, allocations: 0.8337 MB / 0.5811 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.04574, allocations: 1.856 MB / 0.5829 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.0487, allocations: 1.634 MB / 0.5845 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.007967/0.05667, allocations: 8.02 MB / 0.5923 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006906/0.06357, allocations: 5.218 MB / 0.5974 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007451/0.07102, allocations: 4.869 MB / 0.6022 GB, free: 256 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2059/0.2769, allocations: 3.762 MB / 0.6059 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001936/0.2788, allocations: 0.678 MB / 0.6065 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.2812, allocations: 0.7573 MB / 0.6073 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00272/0.284, allocations: 2.831 MB / 0.61 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004518/0.2885, allocations: 2.178 MB / 0.6122 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007243/0.2957, allocations: 5.323 MB / 0.6174 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2957, allocations: 0.8438 kB / 0.6174 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2957, allocations: 0 / 0.6174 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000288/0.296, allocations: 2.438 kB / 0.6174 GB, free: 72.15 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01246/0.3085, allocations: 5.604 MB / 0.6228 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3085, allocations: 10.53 kB / 0.6228 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.3118, allocations: 1.312 MB / 0.6241 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/0.3159, allocations: 2.815 MB / 0.6269 GB, free: 68.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.3161, allocations: 355.5 kB / 0.6272 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006226/0.3167, allocations: 479.5 kB / 0.6277 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006162/0.3229, allocations: 5.071 MB / 0.6326 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.323, allocations: 29.69 kB / 0.6327 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.3233, allocations: 210.8 kB / 0.6329 GB, free: 65.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004/0.3237, allocations: 370 kB / 0.6332 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.3266, allocations: 1.46 MB / 0.6346 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.3434, allocations: 25.04 MB / 0.6591 GB, free: 45.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3444, allocations: 0.7766 MB / 0.6598 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.3449, allocations: 0.5287 MB / 0.6604 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.345, allocations: 25.31 kB / 0.6604 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.345, allocations: 63.95 kB / 0.6604 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 3.927e-06/0.345, allocations: 0 / 0.6604 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160): time 0.005064/0.3501, allocations: 3.088 MB / 0.6635 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.3501, allocations: 77.88 kB / 0.6635 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/0.3511, allocations: 1.561 MB / 0.6651 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.3511, allocations: 60.7 kB / 0.6651 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000636/0.3518, allocations: 2.26 MB / 0.6673 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.352, allocations: 0.5917 MB / 0.6679 GB, free: 41.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.3523, allocations: 421.8 kB / 0.6683 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.3524, allocations: 476.8 kB / 0.6688 GB, free: 41.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.3527, allocations: 280.2 kB / 0.669 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.3532, allocations: 1.289 MB / 0.6703 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.3541, allocations: 1.756 MB / 0.672 GB, free: 38.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.3541, allocations: 10.47 kB / 0.672 GB, free: 38.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002529/0.3567, allocations: 2.147 MB / 0.6741 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3567, allocations: 16 kB / 0.6741 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.3567, allocations: 20 kB / 0.6741 GB, free: 36.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.3584, allocations: 0.7167 MB / 0.6748 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.3593, allocations: 384.1 kB / 0.6752 GB, free: 35.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00829/0.3676, allocations: 22.67 MB / 0.6973 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.3691, allocations: 67 kB / 0.6974 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.3692, allocations: 80.06 kB / 0.6975 GB, free: 12 MB / 0.5105 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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.001287/0.3705, allocations: 298 kB / 0.6978 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.3708, allocations: 302.5 kB / 0.6981 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.3729, allocations: 1.564 MB / 0.6996 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.3729, allocations: 16 kB / 0.6996 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.373, allocations: 15.94 kB / 0.6996 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.373, allocations: 11.97 kB / 0.6996 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006075/0.379, allocations: 3.83 MB / 0.7034 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.3791, allocations: 8 kB / 0.7034 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.3796, allocations: 166.3 kB / 0.7035 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.3812, allocations: 0.6745 MB / 0.7042 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.932e-05/0.3813, allocations: 32 kB / 0.7042 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/0.3936, allocations: 22.64 MB / 0.7263 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.3936, allocations: 8 kB / 0.7263 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.3968, allocations: 1.852 MB / 0.7281 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008523/0.3977, allocations: 397.3 kB / 0.7285 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.3979, allocations: 32 kB / 0.7286 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.3985, allocations: 36 kB / 0.7286 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005902/0.3991, allocations: 151.7 kB / 0.7287 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/0.3992, allocations: 32 kB / 0.7288 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000815/0.4, allocations: 0.8279 MB / 0.7296 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4, allocations: 0 / 0.7296 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002798/0.4028, allocations: 0.9102 MB / 0.7305 GB, free: 9.32 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002353/0.4031, allocations: 161.7 kB / 0.7306 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003469/0.4065, allocations: 3.561 MB / 0.7341 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4065, allocations: 4 kB / 0.7341 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00263/0.4092, allocations: 2.919 MB / 0.7369 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.4115, allocations: 0.7524 MB / 0.7377 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.4235, allocations: 6.994 MB / 0.7445 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.425, allocations: 1.176 MB / 0.7457 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001184/0.4262, allocations: 292.8 kB / 0.7459 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.4272, allocations: 0.7388 MB / 0.7467 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of SimCode: time 1.783e-06/0.4272, allocations: 0 / 0.7467 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of Templates: time 0.06034/0.4876, allocations: 45.4 MB / 0.791 GB, free: 12.03 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.645714519079775]