Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0009812/0.0009812, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001004/0.001004, allocations: 173 kB / 23.49 MB, free: 1.059 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.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.002084/0.002084, allocations: 233.5 kB / 260.5 MB, free: 12.88 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.7461/0.7461, allocations: 138.4 MB / 455.4 MB, free: 1.523 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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.5551 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.497e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02741/0.02744, allocations: 35.34 MB / 0.5896 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.04191, allocations: 11.79 MB / 0.6011 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/0.04479, allocations: 210.4 kB / 0.6013 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.2123/0.2571, allocations: 4.382 MB / 0.6056 GB, free: 67.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005637/0.2628, allocations: 2.139 MB / 0.6076 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005708/0.2685, allocations: 2.439 MB / 0.61 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.009242/0.2777, allocations: 8.614 MB / 0.6184 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.288, allocations: 6.212 MB / 0.6245 GB, free: 64.22 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009192/0.2972, allocations: 5.451 MB / 0.6298 GB, free: 61.92 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007541/0.3047, allocations: 4.192 MB / 0.6339 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00284/0.3075, allocations: 0.7798 MB / 0.6347 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005141/0.3127, allocations: 1.926 MB / 0.6366 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.004253/0.3169, allocations: 3.335 MB / 0.6398 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004642/0.3216, allocations: 2.402 MB / 0.6422 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008657/0.3302, allocations: 6.669 MB / 0.6487 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3302, allocations: 0 / 0.6487 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3302, allocations: 0 / 0.6487 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003504/0.3306, allocations: 0 / 0.6487 GB, free: 55.5 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.009463/0.3401, allocations: 6.16 MB / 0.6547 GB, free: 51.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3401, allocations: 9.406 kB / 0.6547 GB, free: 51.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004804/0.3449, allocations: 1.77 MB / 0.6564 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.3493, allocations: 3.352 MB / 0.6597 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.3494, allocations: 415.1 kB / 0.6601 GB, free: 47.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005741/0.35, allocations: 0.5428 MB / 0.6606 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006923/0.3569, allocations: 5.469 MB / 0.666 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.3571, allocations: 34.22 kB / 0.666 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.3574, allocations: 240.2 kB / 0.6662 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.3577, allocations: 350.7 kB / 0.6666 GB, free: 40.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/0.3615, allocations: 2.038 MB / 0.6686 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.3798, allocations: 27.01 MB / 0.6949 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.3812, allocations: 1.255 MB / 0.6962 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009617/0.3821, allocations: 0.8764 MB / 0.697 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.886e-05/0.3822, allocations: 34 kB / 0.6971 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3822, allocations: 51.39 kB / 0.6971 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=179): time 5.249e-06/0.3822, allocations: 0 / 0.6971 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182): time 0.01174/0.394, allocations: 6.288 MB / 0.7032 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.394, allocations: 73.41 kB / 0.7033 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3951, allocations: 1.362 MB / 0.7046 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.258e-05/0.3951, allocations: 57.7 kB / 0.7047 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000924/0.3961, allocations: 2.365 MB / 0.707 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004475/0.3965, allocations: 0.6779 MB / 0.7077 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.3969, allocations: 422.1 kB / 0.7081 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.397, allocations: 476.8 kB / 0.7085 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.3976, allocations: 388.2 kB / 0.7089 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.3987, allocations: 1.399 MB / 0.7103 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.4008, allocations: 1.98 MB / 0.7122 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.4009, allocations: 4 kB / 0.7122 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003692/0.4045, allocations: 2.628 MB / 0.7148 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4046, allocations: 19.94 kB / 0.7148 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.4046, allocations: 27.94 kB / 0.7148 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/0.407, allocations: 1.224 MB / 0.716 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.4076, allocations: 347.4 kB / 0.7163 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.4188, allocations: 12.67 MB / 0.7287 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009432/0.4197, allocations: 115.9 kB / 0.7288 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.4198, allocations: 100 kB / 0.7289 GB, free: 7.16 MB / 0.5417 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.421, allocations: 295.9 kB / 0.7292 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.4213, allocations: 286.5 kB / 0.7295 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/0.4243, allocations: 2.126 MB / 0.7316 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4243, allocations: 19.98 kB / 0.7316 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.4243, allocations: 20 kB / 0.7316 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4243, allocations: 7.969 kB / 0.7316 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008369/0.4327, allocations: 5.961 MB / 0.7374 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4327, allocations: 4 kB / 0.7374 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.4331, allocations: 187.3 kB / 0.7376 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/0.4353, allocations: 1.015 MB / 0.7386 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/0.4354, allocations: 36 kB / 0.7386 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.4457, allocations: 11.88 MB / 0.7502 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4457, allocations: 7.938 kB / 0.7502 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/0.4491, allocations: 2.362 MB / 0.7525 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.4501, allocations: 426.5 kB / 0.753 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.4503, allocations: 36 kB / 0.753 GB, free: 13.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.4508, allocations: 87.89 kB / 0.7531 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/0.4512, allocations: 177.4 kB / 0.7532 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.4512, allocations: 51.98 kB / 0.7533 GB, free: 13.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007151/0.4519, allocations: 0.7669 MB / 0.754 GB, free: 12.69 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.4519, allocations: 4 kB / 0.754 GB, free: 12.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002492/0.4544, allocations: 0.9961 MB / 0.755 GB, free: 11.69 MB / 0.573 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002164/0.4547, allocations: 148.7 kB / 0.7552 GB, free: 11.54 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003624/0.4583, allocations: 2.976 MB / 0.7581 GB, free: 8.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.4583, allocations: 4.938 kB / 0.7581 GB, free: 8.477 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.461, allocations: 2.165 MB / 0.7602 GB, free: 6.246 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.4631, allocations: 0.7681 MB / 0.7609 GB, free: 5.543 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.4745, allocations: 7.809 MB / 0.7686 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.4758, allocations: 1.353 MB / 0.7699 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008561/0.4766, allocations: 383.1 kB / 0.7702 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.4769, allocations: 108.5 kB / 0.7703 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of SimCode: time 2.574e-06/0.4769, allocations: 0 / 0.7703 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.05621/0.5331, allocations: 45.09 MB / 0.8144 GB, free: 15.55 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.751157877966762]