Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001633/0.001633, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001512/0.001512, allocations: 207.6 kB / 22.99 MB, free: 4.965 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002822/0.002822, allocations: 286.9 kB / 313.5 MB, free: 2.617 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.234/1.234, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [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.003047/0.003047, allocations: 96.48 kB / 0.7407 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1824, allocations: 95.39 MB / 0.8339 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0427/0.2251, allocations: 29.26 MB / 0.8625 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02419/0.2493, allocations: 13.21 MB / 0.8754 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.2523, allocations: 186.6 kB / 0.8755 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009268/0.2616, allocations: 3.208 MB / 0.8787 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008108/0.2697, allocations: 2.749 MB / 0.8813 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006691/0.2764, allocations: 2.023 MB / 0.8833 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.2873, allocations: 7.633 MB / 0.8908 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007321/0.2946, allocations: 4.6 MB / 0.8953 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006105/0.3007, allocations: 3.533 MB / 0.8987 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006168/0.3068, allocations: 3.355 MB / 0.902 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.3083, allocations: 0.5938 MB / 0.9026 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.3118, allocations: 1.404 MB / 0.9039 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.3148, allocations: 2.424 MB / 0.9063 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004322/0.3191, allocations: 2.334 MB / 0.9086 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.331, allocations: 9.547 MB / 0.9179 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3311, allocations: 0 / 0.9179 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3311, allocations: 0 / 0.9179 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002323/0.3313, allocations: 0 / 0.9179 GB, free: 1.43 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01214/0.3434, allocations: 5.191 MB / 0.923 GB, free: 12.17 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3435, allocations: 12.75 kB / 0.923 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.3495, allocations: 1.016 MB / 0.924 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007448/0.3569, allocations: 3.025 MB / 0.9269 GB, free: 8.02 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/0.3573, allocations: 316.8 kB / 0.9272 GB, free: 7.707 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/0.3586, allocations: 424 kB / 0.9277 GB, free: 7.293 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.3736, allocations: 7.523 MB / 0.935 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001778/0.3738, allocations: 19.88 kB / 0.935 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009254/0.3747, allocations: 187.9 kB / 0.9352 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009749/0.3757, allocations: 372 kB / 0.9356 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.3865, allocations: 5.106 MB / 0.9405 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05019/0.4367, allocations: 19.04 MB / 0.9591 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.4402, allocations: 1.321 MB / 0.9604 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.4423, allocations: 1.256 MB / 0.9617 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-05/0.4424, allocations: 13.31 kB / 0.9617 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.4424, allocations: 51.81 kB / 0.9617 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=130): time 3.456e-06/0.4424, allocations: 0 / 0.9617 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199): time 0.4382/0.8806, allocations: 22.82 MB / 0.984 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.8806, allocations: 72.97 kB / 0.9841 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.8837, allocations: 1.844 MB / 0.9859 GB, free: 132 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.884, allocations: 58.09 kB / 0.9859 GB, free: 132 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.885, allocations: 2.075 MB / 0.9879 GB, free: 131 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.8855, allocations: 0.7071 MB / 0.9886 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006268/0.8862, allocations: 415.2 kB / 0.989 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.8862, allocations: 302.5 kB / 0.9893 GB, free: 130 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.888, allocations: 1.429 MB / 0.9907 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.8901, allocations: 2.014 MB / 0.9927 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/0.895, allocations: 3.7 MB / 0.9963 GB, free: 126 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.895, allocations: 4.938 kB / 0.9963 GB, free: 126 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01108/0.9061, allocations: 5.578 MB / 1.002 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.9061, allocations: 16.25 kB / 1.002 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.9061, allocations: 18.03 kB / 1.002 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006262/0.9124, allocations: 2.077 MB / 1.004 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.9138, allocations: 376.5 kB / 1.004 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02783/0.9417, allocations: 35.89 MB / 1.039 GB, free: 93.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.944, allocations: 125.7 kB / 1.039 GB, free: 93.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.9442, allocations: 91.98 kB / 1.039 GB, free: 92.93 MB / 0.7169 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.001915/0.9461, allocations: 1.504 MB / 1.041 GB, free: 91.42 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.9465, allocations: 282.3 kB / 1.041 GB, free: 91.14 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008165/0.9546, allocations: 5.122 MB / 1.046 GB, free: 85.95 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.9546, allocations: 20 kB / 1.046 GB, free: 85.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.386e-05/0.9547, allocations: 27.94 kB / 1.046 GB, free: 85.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.9547, allocations: 7.969 kB / 1.046 GB, free: 85.89 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.9675, allocations: 8.443 MB / 1.054 GB, free: 77.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.9675, allocations: 6.844 kB / 1.054 GB, free: 77.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/0.9682, allocations: 215.6 kB / 1.055 GB, free: 77.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004878/0.9731, allocations: 1.834 MB / 1.056 GB, free: 75.21 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.9733, allocations: 40 kB / 1.057 GB, free: 75.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02608/0.9994, allocations: 34.89 MB / 1.091 GB, free: 38.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.9994, allocations: 11.94 kB / 1.091 GB, free: 38.47 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007499/1.007, allocations: 4.827 MB / 1.095 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.008, allocations: 0.5353 MB / 1.096 GB, free: 32.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003502/1.009, allocations: 39.94 kB / 1.096 GB, free: 32.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.01, allocations: 131.8 kB / 1.096 GB, free: 32.79 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/1.011, allocations: 201.1 kB / 1.096 GB, free: 32.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.011, allocations: 56 kB / 1.096 GB, free: 32.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001359/1.012, allocations: 1.204 MB / 1.097 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.012, allocations: 0 / 1.097 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00286/1.015, allocations: 1.047 MB / 1.098 GB, free: 30.28 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002375/1.015, allocations: 174.9 kB / 1.099 GB, free: 30.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007679/1.023, allocations: 6.006 MB / 1.104 GB, free: 23.87 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.023, allocations: 0 / 1.104 GB, free: 23.87 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005152/1.028, allocations: 4.288 MB / 1.109 GB, free: 19.36 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/1.031, allocations: 0.8995 MB / 1.11 GB, free: 18.51 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.043, allocations: 8.826 MB / 1.118 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002979/1.046, allocations: 2.638 MB / 1.121 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/1.047, allocations: 143.4 kB / 1.121 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of SimCode: time 1.362e-06/1.047, allocations: 0 / 1.121 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of Templates: time 0.7224/1.769, allocations: 465.3 MB / 1.575 GB, free: 95.09 MB / 0.92 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 23.7944051977247] Failed to read output from testmodel.py, exit status != 0: 1.7773064658977091 1.787640103 1.4541075190000001 Calling exit ...