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.001409/0.001409, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001487/0.001487, allocations: 221.3 kB / 23 MB, free: 4.91 MB / 14.72 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.002499/0.002499, allocations: 297.3 kB / 313.5 MB, free: 2.633 MB / 238.1 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 1.252/1.252, allocations: 180.6 MB / 0.5377 GB, free: 14.57 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002996/0.002996, allocations: 111.1 kB / 0.7407 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1906, allocations: 95.38 MB / 0.8339 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04569/0.2363, allocations: 33.76 MB / 0.8669 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0226/0.2589, allocations: 11.54 MB / 0.8781 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.2624, allocations: 210.4 kB / 0.8783 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01219/0.2746, allocations: 4.27 MB / 0.8825 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006706/0.2813, allocations: 2.092 MB / 0.8845 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006782/0.2881, allocations: 2.411 MB / 0.8869 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.3004, allocations: 8.457 MB / 0.8951 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.3115, allocations: 6.157 MB / 0.9012 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00727/0.3188, allocations: 3.88 MB / 0.9049 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007961/0.3267, allocations: 4.147 MB / 0.909 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002363/0.3291, allocations: 0.7812 MB / 0.9098 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005076/0.3342, allocations: 1.903 MB / 0.9116 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005246/0.3394, allocations: 3.133 MB / 0.9147 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007003/0.3464, allocations: 2.755 MB / 0.9174 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01908/0.3655, allocations: 12.06 MB / 0.9291 GB, free: 5.906 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3655, allocations: 0 / 0.9291 GB, free: 5.906 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3655, allocations: 0 / 0.9291 GB, free: 5.906 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004654/0.366, allocations: 0 / 0.9291 GB, free: 5.906 MB / 0.67 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.01865/0.3846, allocations: 5.871 MB / 0.9349 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.3847, allocations: 8.75 kB / 0.9349 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007406/0.3921, allocations: 1.082 MB / 0.9359 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009235/0.4013, allocations: 3.426 MB / 0.9393 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005058/0.4019, allocations: 407.5 kB / 0.9397 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.4042, allocations: 0.5471 MB / 0.9402 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/0.4279, allocations: 9.38 MB / 0.9494 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003082/0.4282, allocations: 23.83 kB / 0.9494 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.4299, allocations: 232 kB / 0.9496 GB, free: 424 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00047/0.4304, allocations: 354.7 kB / 0.95 GB, free: 68 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.4456, allocations: 6.822 MB / 0.9566 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04103/0.4867, allocations: 24.25 MB / 0.9803 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4021/0.8888, allocations: 2.289 MB / 0.9825 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/0.8915, allocations: 1.777 MB / 0.9843 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.8916, allocations: 19.38 kB / 0.9843 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.8916, allocations: 54.91 kB / 0.9843 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.288e-06/0.8916, allocations: 0 / 0.9843 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02471/0.9163, allocations: 9.671 MB / 0.9938 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.9164, allocations: 71.84 kB / 0.9939 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.919, allocations: 1.448 MB / 0.9953 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.9193, allocations: 52.12 kB / 0.9953 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.9204, allocations: 2.327 MB / 0.9976 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/0.921, allocations: 0.6627 MB / 0.9982 GB, free: 126 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005591/0.9216, allocations: 408.9 kB / 0.9986 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.9216, allocations: 302.2 kB / 0.9989 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.9232, allocations: 1.174 MB / 1 GB, free: 125.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.925, allocations: 1.887 MB / 1.002 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.9286, allocations: 3.368 MB / 1.005 GB, free: 121.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/0.9286, allocations: 9.438 kB / 1.005 GB, free: 121.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006723/0.9354, allocations: 4.528 MB / 1.01 GB, free: 120 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.9354, allocations: 16.78 kB / 1.01 GB, free: 120 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.9354, allocations: 27.22 kB / 1.01 GB, free: 120 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.9386, allocations: 1.58 MB / 1.011 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.9397, allocations: 351.1 kB / 1.012 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/0.9571, allocations: 17.83 MB / 1.029 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.9589, allocations: 115.9 kB / 1.029 GB, free: 103 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.9591, allocations: 102.5 kB / 1.029 GB, free: 102.9 MB / 0.7169 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.002571/0.9617, allocations: 1.896 MB / 1.031 GB, free: 101 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/0.9621, allocations: 226.6 kB / 1.031 GB, free: 100.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/0.9676, allocations: 4.037 MB / 1.035 GB, free: 96.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.9677, allocations: 23.94 kB / 1.035 GB, free: 96.71 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.9677, allocations: 16 kB / 1.035 GB, free: 96.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.9677, allocations: 7.969 kB / 1.035 GB, free: 96.69 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.98, allocations: 7.844 MB / 1.043 GB, free: 88.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.98, allocations: 4 kB / 1.043 GB, free: 88.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007472/0.9807, allocations: 175.7 kB / 1.043 GB, free: 88.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/0.9836, allocations: 1.364 MB / 1.044 GB, free: 87.22 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.9837, allocations: 33.31 kB / 1.044 GB, free: 87.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/0.9999, allocations: 16.6 MB / 1.061 GB, free: 70.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.9999, allocations: 7.938 kB / 1.061 GB, free: 70.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/1.006, allocations: 4.028 MB / 1.065 GB, free: 66.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.007, allocations: 462.4 kB / 1.065 GB, free: 65.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/1.007, allocations: 39.94 kB / 1.065 GB, free: 65.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008892/1.008, allocations: 91.89 kB / 1.065 GB, free: 65.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/1.008, allocations: 173.5 kB / 1.065 GB, free: 65.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/1.008, allocations: 44 kB / 1.065 GB, free: 65.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009615/1.009, allocations: 0.9193 MB / 1.066 GB, free: 64.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.009, allocations: 0 / 1.066 GB, free: 64.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002844/1.012, allocations: 0.9883 MB / 1.067 GB, free: 63.38 MB / 0.7169 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.0002127/1.012, allocations: 146.8 kB / 1.067 GB, free: 63.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005454/1.018, allocations: 4.172 MB / 1.071 GB, free: 59.01 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.018, allocations: 4 kB / 1.071 GB, free: 59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003387/1.021, allocations: 2.573 MB / 1.074 GB, free: 56.39 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.024, allocations: 0.7589 MB / 1.075 GB, free: 55.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/1.038, allocations: 9.655 MB / 1.084 GB, free: 45.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/1.041, allocations: 3.129 MB / 1.087 GB, free: 42.79 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/1.041, allocations: 119.4 kB / 1.087 GB, free: 42.67 MB / 0.7169 GB Notification: Performance of SimCode: time 1.103e-06/1.041, allocations: 3.938 kB / 1.087 GB, free: 42.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.1935/1.235, allocations: 161.3 MB / 1.245 GB, free: 9.375 MB / 0.8419 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.113830354996026] Failed to read output from testmodel.py, exit status != 0: 1.2440774841234088 1.2604075160000001 0.891376344 Calling exit ...