Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 196.2 kB / 16.14 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 282.9 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9417/0.9417, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 94.66 kB / 0.5945 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1459, allocations: 86.98 MB / 0.6795 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01522/0.1611, allocations: 14.68 MB / 0.6938 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.175, allocations: 10.36 MB / 0.7039 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.1762, allocations: 55.62 kB / 0.704 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.1802, allocations: 1.579 MB / 0.7055 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004564/0.1848, allocations: 1.597 MB / 0.7071 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.1866, allocations: 0.6933 MB / 0.7077 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00391/0.1905, allocations: 3.405 MB / 0.7111 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.1926, allocations: 1.36 MB / 0.7124 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.1947, allocations: 1.39 MB / 0.7137 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.1965, allocations: 1.171 MB / 0.7149 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.1969, allocations: 99.94 kB / 0.715 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.1987, allocations: 0.8812 MB / 0.7158 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006831/0.1994, allocations: 0.5451 MB / 0.7164 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.2007, allocations: 0.8858 MB / 0.7172 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002935/0.2036, allocations: 2.729 MB / 0.7199 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2036, allocations: 0 / 0.7199 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2036, allocations: 0 / 0.7199 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.275e-05/0.2037, allocations: 0 / 0.7199 GB, free: 7.613 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004436/0.2081, allocations: 2.174 MB / 0.722 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2082, allocations: 12.03 kB / 0.722 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.2195, allocations: 2.105 MB / 0.7241 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.2221, allocations: 1.213 MB / 0.7253 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.412e-05/0.2222, allocations: 90.67 kB / 0.7254 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.2226, allocations: 120.1 kB / 0.7255 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006187/0.2288, allocations: 2.675 MB / 0.7281 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.852e-05/0.2289, allocations: 11.84 kB / 0.7281 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.2291, allocations: 51.98 kB / 0.7282 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000626/0.2298, allocations: 198.1 kB / 0.7283 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007458/0.2372, allocations: 2.791 MB / 0.7311 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.2514, allocations: 10.5 MB / 0.7413 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006128/0.2576, allocations: 2.34 MB / 0.7436 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.2605, allocations: 1.276 MB / 0.7449 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/0.2606, allocations: 13 kB / 0.7449 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.2606, allocations: 47.56 kB / 0.7449 GB, free: 13.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.394e-06/0.2606, allocations: 0 / 0.7449 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.05869/0.3193, allocations: 16.48 MB / 0.761 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3194, allocations: 68.72 kB / 0.7611 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.3208, allocations: 1.176 MB / 0.7622 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.321, allocations: 53.7 kB / 0.7623 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.3215, allocations: 0.7358 MB / 0.763 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/0.322, allocations: 0.5197 MB / 0.7635 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005611/0.3225, allocations: 287.5 kB / 0.7638 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3227, allocations: 309.1 kB / 0.7641 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/0.326, allocations: 1.503 MB / 0.7655 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/0.3295, allocations: 1.784 MB / 0.7673 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006693/0.3362, allocations: 3.369 MB / 0.7706 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3362, allocations: 8 kB / 0.7706 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.2682/0.6044, allocations: 5.271 MB / 0.7757 GB, free: 90.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.6044, allocations: 8.562 kB / 0.7757 GB, free: 90.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.6045, allocations: 9.438 kB / 0.7757 GB, free: 90.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00672/0.6112, allocations: 1.881 MB / 0.7776 GB, free: 90.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.613, allocations: 415.3 kB / 0.778 GB, free: 90.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/0.6356, allocations: 22.18 MB / 0.7996 GB, free: 74.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.6379, allocations: 309.6 kB / 0.7999 GB, free: 74.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.638, allocations: 64.86 kB / 0.8 GB, free: 74.76 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007651/0.6388, allocations: 468.1 kB / 0.8004 GB, free: 74.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.6391, allocations: 176.7 kB / 0.8006 GB, free: 74.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.6513, allocations: 5.316 MB / 0.8058 GB, free: 72.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.6513, allocations: 18.84 kB / 0.8058 GB, free: 72.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/0.6514, allocations: 18.09 kB / 0.8058 GB, free: 72.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6514, allocations: 7.5 kB / 0.8058 GB, free: 72.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.6652, allocations: 7.406 MB / 0.8131 GB, free: 68.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6652, allocations: 2.719 kB / 0.8131 GB, free: 68.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.6666, allocations: 356.9 kB / 0.8134 GB, free: 68.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005531/0.6722, allocations: 1.714 MB / 0.8151 GB, free: 67.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.6723, allocations: 43.78 kB / 0.8151 GB, free: 67.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.6917, allocations: 21.36 MB / 0.836 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6918, allocations: 4 kB / 0.836 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00985/0.7016, allocations: 4.885 MB / 0.8408 GB, free: 44.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007338/0.7024, allocations: 491.1 kB / 0.8412 GB, free: 44.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.7026, allocations: 37.75 kB / 0.8413 GB, free: 44.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.7044, allocations: 319.5 kB / 0.8416 GB, free: 43.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/0.7048, allocations: 149 kB / 0.8417 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.7049, allocations: 55.97 kB / 0.8418 GB, free: 43.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008027/0.7057, allocations: 0.7899 MB / 0.8425 GB, free: 42.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7057, allocations: 0 / 0.8425 GB, free: 42.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001647/0.7074, allocations: 0.6562 MB / 0.8432 GB, free: 42.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/0.7076, allocations: 150.8 kB / 0.8433 GB, free: 41.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008723/0.7163, allocations: 5.139 MB / 0.8483 GB, free: 36.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7164, allocations: 0 / 0.8483 GB, free: 36.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005487/0.7219, allocations: 3.351 MB / 0.8516 GB, free: 33.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.7239, allocations: 0.5262 MB / 0.8521 GB, free: 32.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00679/0.7307, allocations: 4.983 MB / 0.857 GB, free: 27.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007981/0.7316, allocations: 1.571 MB / 0.8585 GB, free: 26.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001369/0.7329, allocations: 382.4 kB / 0.8589 GB, free: 25.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.7333, allocations: 111.4 kB / 0.859 GB, free: 25.71 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/0.7333, allocations: 0 / 0.859 GB, free: 25.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.05092/0.7842, allocations: 43.33 MB / 0.9013 GB, free: 14.91 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)