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.001598/0.001598, 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.001745/0.001745, allocations: 222.1 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.00262/0.00262, allocations: 289.5 kB / 313.5 MB, free: 2.621 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.221/1.221, allocations: 180.6 MB / 0.5377 GB, free: 14.4 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_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: 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.003002/0.003002, allocations: 99.12 kB / 0.7407 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1666, allocations: 95.39 MB / 0.8339 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05017/0.2167, allocations: 39.12 MB / 0.8721 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.2445, allocations: 15.31 MB / 0.887 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004274/0.2488, allocations: 246.1 kB / 0.8873 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.2612, allocations: 4.497 MB / 0.8917 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009524/0.2708, allocations: 2.923 MB / 0.8945 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009063/0.2798, allocations: 3.195 MB / 0.8976 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01659/0.2964, allocations: 11.43 MB / 0.9088 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.3097, allocations: 6.697 MB / 0.9153 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.3204, allocations: 5.013 MB / 0.9202 GB, free: 15.01 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.3312, allocations: 5.416 MB / 0.9255 GB, free: 9.578 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003046/0.3342, allocations: 0.9492 MB / 0.9265 GB, free: 8.629 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.3401, allocations: 1.896 MB / 0.9283 GB, free: 6.73 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006335/0.3465, allocations: 3.784 MB / 0.932 GB, free: 2.938 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009547/0.356, allocations: 3.514 MB / 0.9354 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02038/0.3764, allocations: 14.38 MB / 0.9495 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3764, allocations: 0 / 0.9495 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3764, allocations: 0 / 0.9495 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004274/0.3768, allocations: 4 kB / 0.9495 GB, free: 0.9805 MB / 0.6856 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.02416/0.401, allocations: 7.719 MB / 0.957 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.401, allocations: 8.75 kB / 0.957 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.4124, allocations: 1.55 MB / 0.9585 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.4264, allocations: 4.39 MB / 0.9628 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007473/0.4272, allocations: 452.5 kB / 0.9633 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004711/0.4319, allocations: 0.6017 MB / 0.9638 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03246/0.4643, allocations: 11.59 MB / 0.9752 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003885/0.4647, allocations: 31.81 kB / 0.9752 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002287/0.467, allocations: 263.9 kB / 0.9754 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003236/0.4703, allocations: 0.7729 MB / 0.9762 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4627/0.933, allocations: 8.54 MB / 0.9845 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05425/0.9872, allocations: 30.49 MB / 1.014 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005451/0.9927, allocations: 3.966 MB / 1.018 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004631/0.9973, allocations: 3.367 MB / 1.021 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003553/0.9977, allocations: 33.03 kB / 1.022 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.9977, allocations: 79.56 kB / 1.022 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 7.634e-06/0.9978, allocations: 0 / 1.022 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4857/1.483, allocations: 121.1 MB / 1.14 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.484, allocations: 119.8 kB / 1.14 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004862/1.488, allocations: 2.504 MB / 1.142 GB, free: 48 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001445/1.49, allocations: 123.8 kB / 1.142 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002391/1.492, allocations: 2.762 MB / 1.145 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.003336/1.496, allocations: 2.057 MB / 1.147 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003651/1.499, allocations: 0.9212 MB / 1.148 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.499, allocations: 309.1 kB / 1.148 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007161/1.507, allocations: 4.079 MB / 1.152 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008271/1.515, allocations: 5.015 MB / 1.157 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/1.532, allocations: 9.848 MB / 1.167 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.699e-05/1.532, allocations: 8 kB / 1.167 GB, free: 6.422 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04684/1.579, allocations: 16.72 MB / 1.183 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/1.579, allocations: 12 kB / 1.183 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/1.579, allocations: 27.94 kB / 1.183 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03557/1.614, allocations: 9.075 MB / 1.192 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.617, allocations: 0.5264 MB / 1.193 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1256/1.743, allocations: 74.24 MB / 1.265 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/1.748, allocations: 275.8 kB / 1.265 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008363/1.749, allocations: 192.3 kB / 1.266 GB, free: 68 kB / 0.8575 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004867/1.753, allocations: 2.429 MB / 1.268 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.755, allocations: 481 kB / 1.268 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04225/1.797, allocations: 16.53 MB / 1.285 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.594e-05/1.797, allocations: 56 kB / 1.285 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002737/1.797, allocations: 72.12 kB / 1.285 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001345/1.797, allocations: 42.48 kB / 1.285 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0591/1.857, allocations: 23.04 MB / 1.307 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/1.857, allocations: 15.95 kB / 1.307 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/1.859, allocations: 315.6 kB / 1.308 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03176/1.89, allocations: 8.254 MB / 1.316 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001165/1.891, allocations: 115.9 kB / 1.316 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4681/2.36, allocations: 71.11 MB / 1.385 GB, free: 285.8 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/2.36, allocations: 15.47 kB / 1.385 GB, free: 285.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03782/2.397, allocations: 21.28 MB / 1.406 GB, free: 268.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003963/2.401, allocations: 1.293 MB / 1.407 GB, free: 267.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/2.403, allocations: 108 kB / 1.407 GB, free: 267.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0042/2.407, allocations: 287.6 kB / 1.408 GB, free: 267.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002164/2.409, allocations: 0.553 MB / 1.408 GB, free: 266.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006757/2.41, allocations: 142 kB / 1.408 GB, free: 266.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002387/2.412, allocations: 1.626 MB / 1.41 GB, free: 264.9 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/2.412, allocations: 0 / 1.41 GB, free: 264.9 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.007925/2.42, allocations: 2.453 MB / 1.412 GB, free: 262.4 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (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.001024/2.421, allocations: 247.3 kB / 1.412 GB, free: 262.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02206/2.443, allocations: 13.73 MB / 1.426 GB, free: 248.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/2.443, allocations: 1.781 kB / 1.426 GB, free: 248.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01688/2.46, allocations: 9.028 MB / 1.435 GB, free: 239.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006223/2.466, allocations: 1.308 MB / 1.436 GB, free: 238 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/2.492, allocations: 16.83 MB / 1.452 GB, free: 221 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006127/2.498, allocations: 4.488 MB / 1.457 GB, free: 216.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/2.499, allocations: 199.4 kB / 1.457 GB, free: 216.3 MB / 0.92 GB Notification: Performance of SimCode: time 1.252e-06/2.499, allocations: 0 / 1.457 GB, free: 216.3 MB / 0.92 GB Notification: Performance of Templates: time 0.7072/3.207, allocations: 476.5 MB / 1.922 GB, free: 94.4 MB / 0.9356 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 27.94068205403164] Failed to read output from testmodel.py, exit status != 0: 3.2162455720826983 3.227019002 2.847852665 Calling exit ...