Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0006545/0.0006545, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008463/0.001501, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006713/0.0006713, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008806/0.001552, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9183/0.9183, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07655/0.9949, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 226.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009884/0.002684, allocations: 483.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6882/0.6882, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08196/0.7702, allocations: 42.4 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 428.1 MB, free: 4.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.733e-05, allocations: 6.25 kB / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.2568/0.2568, allocations: 20.47 MB / 448.6 MB, free: 9.891 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01776/0.2746, allocations: 10.52 MB / 459.1 MB, free: 1.887 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/0.2785, allocations: 202.4 kB / 459.3 MB, free: 1.688 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.2811, allocations: 0.8996 MB / 460.2 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007955/0.2891, allocations: 3.185 MB / 463.4 MB, free: 13.6 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.2926, allocations: 1.838 MB / 465.2 MB, free: 11.77 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009701/0.3023, allocations: 9.964 MB / 475.2 MB, free: 1.793 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007079/0.3094, allocations: 5.485 MB / 480.6 MB, free: 12.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009171/0.3186, allocations: 6.299 MB / 486.9 MB, free: 5.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006421/0.325, allocations: 4.372 MB / 491.3 MB, free: 1.477 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.3268, allocations: 0.7079 MB / 492 MB, free: 0.7695 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.3295, allocations: 0.7967 MB / 492.8 MB, free: 15.97 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002725/0.3322, allocations: 2.87 MB / 495.7 MB, free: 13.1 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00366/0.3359, allocations: 2.005 MB / 497.7 MB, free: 11.09 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00666/0.3425, allocations: 5.488 MB / 0.4914 GB, free: 5.586 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.021e-05/0.3426, allocations: 4.656 kB / 0.4914 GB, free: 5.582 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3426, allocations: 0 / 0.4914 GB, free: 5.582 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000302/0.3429, allocations: 1.031 kB / 0.4914 GB, free: 5.582 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008167/0.351, allocations: 6.9 MB / 0.4981 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3511, allocations: 8.75 kB / 0.4981 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/0.3551, allocations: 1.584 MB / 0.4997 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/0.3589, allocations: 2.699 MB / 0.5023 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.3591, allocations: 370.4 kB / 0.5027 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006385/0.3597, allocations: 0.4964 MB / 0.5032 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005597/0.3653, allocations: 4.869 MB / 0.5079 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.3654, allocations: 27.77 kB / 0.5079 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003849/0.3658, allocations: 217.3 kB / 0.5081 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000466/0.3663, allocations: 353.7 kB / 0.5085 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.3687, allocations: 1.312 MB / 0.5098 GB, free: 2.195 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.3847, allocations: 16.66 MB / 0.526 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008138/0.3855, allocations: 0.7964 MB / 0.5268 GB, free: 376 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/0.3862, allocations: 0.6216 MB / 0.5274 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.563e-05/0.3863, allocations: 31.22 kB / 0.5274 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.3863, allocations: 54.75 kB / 0.5275 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 3.466e-06/0.3863, allocations: 0 / 0.5275 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.01297/0.3993, allocations: 6.673 MB / 0.534 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3993, allocations: 69.41 kB / 0.5341 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.4005, allocations: 1.686 MB / 0.5357 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.09e-05/0.4006, allocations: 57.7 kB / 0.5358 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006938/0.4013, allocations: 1.994 MB / 0.5377 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.4016, allocations: 0.6118 MB / 0.5383 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.402, allocations: 367.7 kB / 0.5387 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.402, allocations: 309 kB / 0.539 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.4023, allocations: 252.2 kB / 0.5392 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.4029, allocations: 0.8327 MB / 0.54 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.4041, allocations: 1.373 MB / 0.5414 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/0.4041, allocations: 4 kB / 0.5414 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002473/0.4066, allocations: 1.995 MB / 0.5433 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4066, allocations: 12 kB / 0.5433 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.4066, allocations: 16 kB / 0.5433 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/0.4092, allocations: 1.231 MB / 0.5446 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.4099, allocations: 387.4 kB / 0.5449 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007107/0.417, allocations: 7.666 MB / 0.5524 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/0.418, allocations: 67.98 kB / 0.5525 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/0.4181, allocations: 68.69 kB / 0.5525 GB, free: 5.184 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008076/0.4189, allocations: 240 kB / 0.5528 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.4191, allocations: 231.7 kB / 0.553 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.4214, allocations: 1.778 MB / 0.5547 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.4214, allocations: 16 kB / 0.5547 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.4214, allocations: 16 kB / 0.5548 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.4214, allocations: 7.969 kB / 0.5548 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/0.4263, allocations: 3.621 MB / 0.5583 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4263, allocations: 4 kB / 0.5583 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.4267, allocations: 200.2 kB / 0.5585 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/0.4272, allocations: 362.1 kB / 0.5588 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/0.4297, allocations: 1.195 MB / 0.56 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.4297, allocations: 32 kB / 0.56 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00708/0.4368, allocations: 7.662 MB / 0.5675 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4368, allocations: 8.5 kB / 0.5675 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.4393, allocations: 1.875 MB / 0.5694 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.4396, allocations: 32 kB / 0.5694 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.4401, allocations: 47.98 kB / 0.5694 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.4404, allocations: 153.4 kB / 0.5696 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.4405, allocations: 40 kB / 0.5696 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006233/0.4411, allocations: 0.843 MB / 0.5704 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4411, allocations: 0 / 0.5704 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002075/0.4432, allocations: 1.082 MB / 0.5715 GB, free: 1.246 MB / 0.5417 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001924/0.4434, allocations: 137.1 kB / 0.5716 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.4458, allocations: 2.183 MB / 0.5738 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.918e-05/0.4459, allocations: 49.69 kB / 0.5738 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.4475, allocations: 1.647 MB / 0.5754 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004688/0.4522, allocations: 9.704 MB / 0.5849 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03493/0.4872, allocations: 8.208 MB / 0.5929 GB, free: 9.266 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.4882, allocations: 1.242 MB / 0.5941 GB, free: 7.992 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001139/0.4894, allocations: 331.4 kB / 0.5944 GB, free: 7.695 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.4906, allocations: 0.7605 MB / 0.5952 GB, free: 6.918 MB / 0.573 GB Notification: Performance of SimCode: time 9.62e-07/0.4906, allocations: 0 / 0.5952 GB, free: 6.918 MB / 0.573 GB Notification: Performance of Templates: time 0.07458/0.5652, allocations: 60.72 MB / 0.6545 GB, free: 11.48 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.417616385035217]