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.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001006/0.001006, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 279.1 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9596/0.9596, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 100.3 kB / 0.5947 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1556, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03105/0.1867, allocations: 30.47 MB / 0.7094 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01969/0.2065, allocations: 13.45 MB / 0.7225 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003236/0.2097, allocations: 131.2 kB / 0.7227 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007579/0.2173, allocations: 2.98 MB / 0.7256 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007191/0.2245, allocations: 2.464 MB / 0.728 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.2293, allocations: 1.844 MB / 0.7298 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008942/0.2383, allocations: 7.644 MB / 0.7372 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/0.2537, allocations: 9.941 MB / 0.7469 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007086/0.2608, allocations: 3.458 MB / 0.7503 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005795/0.2666, allocations: 3.536 MB / 0.7538 GB, free: 4.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.2684, allocations: 0.5938 MB / 0.7544 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/0.2724, allocations: 1.494 MB / 0.7558 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003519/0.2759, allocations: 2.366 MB / 0.7581 GB, free: 404 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005432/0.2814, allocations: 2.886 MB / 0.7609 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.292, allocations: 9.465 MB / 0.7702 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.292, allocations: 0 / 0.7702 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.547e-06/0.292, allocations: 3.984 kB / 0.7702 GB, free: 4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002378/0.2923, allocations: 4 kB / 0.7702 GB, free: 3.996 MB / 0.5606 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.2649/0.5572, allocations: 5.135 MB / 0.7752 GB, free: 87.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5572, allocations: 10.42 kB / 0.7752 GB, free: 87.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005785/0.563, allocations: 0.9911 MB / 0.7762 GB, free: 86.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005541/0.5686, allocations: 2.893 MB / 0.779 GB, free: 85.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.5688, allocations: 318.2 kB / 0.7793 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008331/0.5697, allocations: 421.5 kB / 0.7797 GB, free: 85.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.5819, allocations: 6.796 MB / 0.7864 GB, free: 82.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.582, allocations: 21.89 kB / 0.7864 GB, free: 82.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006538/0.5827, allocations: 188.5 kB / 0.7866 GB, free: 82.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009331/0.5836, allocations: 370.2 kB / 0.7869 GB, free: 82.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00972/0.5934, allocations: 5.112 MB / 0.7919 GB, free: 80.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03055/0.6239, allocations: 30.75 MB / 0.8219 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.6258, allocations: 1.385 MB / 0.8233 GB, free: 52.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.6274, allocations: 1.335 MB / 0.8246 GB, free: 51.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.6276, allocations: 13.19 kB / 0.8246 GB, free: 51.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.6276, allocations: 47.81 kB / 0.8246 GB, free: 51.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 3.407e-06/0.6276, allocations: 0 / 0.8246 GB, free: 51.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.07661/0.7042, allocations: 23.07 MB / 0.8472 GB, free: 32.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.7043, allocations: 73.41 kB / 0.8472 GB, free: 32.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.7069, allocations: 2.066 MB / 0.8493 GB, free: 30.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.7071, allocations: 61.7 kB / 0.8493 GB, free: 30.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007948/0.7079, allocations: 2.002 MB / 0.8513 GB, free: 28.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/0.7084, allocations: 0.6849 MB / 0.8519 GB, free: 27.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006763/0.7091, allocations: 404.2 kB / 0.8523 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.7091, allocations: 301.1 kB / 0.8526 GB, free: 26.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.7108, allocations: 1.441 MB / 0.854 GB, free: 25.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.7127, allocations: 2.013 MB / 0.856 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.7165, allocations: 3.684 MB / 0.8596 GB, free: 19.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.7165, allocations: 12 kB / 0.8596 GB, free: 19.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00933/0.7259, allocations: 5.669 MB / 0.8651 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.7259, allocations: 12 kB / 0.8651 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.7259, allocations: 20 kB / 0.8652 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006013/0.732, allocations: 2.09 MB / 0.8672 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.7334, allocations: 375.4 kB / 0.8676 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03586/0.7693, allocations: 38.46 MB / 0.9051 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.7719, allocations: 131.8 kB / 0.9052 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/0.7723, allocations: 88 kB / 0.9053 GB, free: 1.715 MB / 0.5919 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.002631/0.775, allocations: 1.506 MB / 0.9068 GB, free: 204 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006759/0.7756, allocations: 280.8 kB / 0.9071 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/0.7862, allocations: 5.215 MB / 0.9122 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.7862, allocations: 19.47 kB / 0.9122 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-05/0.7863, allocations: 20 kB / 0.9122 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.7863, allocations: 19.89 kB / 0.9122 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/0.8053, allocations: 9.681 MB / 0.9217 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.8053, allocations: 4 kB / 0.9217 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/0.8062, allocations: 219.6 kB / 0.9219 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005935/0.8122, allocations: 1.857 MB / 0.9237 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.8124, allocations: 40 kB / 0.9237 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03483/0.8472, allocations: 37.46 MB / 0.9603 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.8473, allocations: 11.94 kB / 0.9603 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009089/0.8563, allocations: 4.92 MB / 0.9651 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/0.8578, allocations: 0.6147 MB / 0.9657 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007204/0.8586, allocations: 40 kB / 0.9658 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.8602, allocations: 127.8 kB / 0.9659 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/0.8608, allocations: 197.4 kB / 0.9661 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/0.861, allocations: 60 kB / 0.9661 GB, free: 492 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002491/0.8635, allocations: 1.378 MB / 0.9675 GB, free: 15.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8635, allocations: 0 / 0.9675 GB, free: 15.09 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003607/0.8671, allocations: 1.047 MB / 0.9685 GB, free: 14.05 MB / 0.67 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.0003264/0.8675, allocations: 167 kB / 0.9687 GB, free: 13.88 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0111/0.8786, allocations: 7.207 MB / 0.9757 GB, free: 6.461 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.8786, allocations: 0 / 0.9757 GB, free: 6.461 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006095/0.8847, allocations: 4.414 MB / 0.98 GB, free: 1.832 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/0.8892, allocations: 0.989 MB / 0.981 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.9043, allocations: 10.06 MB / 0.9908 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/0.9084, allocations: 3.123 MB / 0.9939 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001944/0.9103, allocations: 0.5159 MB / 0.9944 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/0.9108, allocations: 151.4 kB / 0.9945 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of SimCode: time 1.252e-06/0.9108, allocations: 0 / 0.9945 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of Templates: time 0.4094/1.32, allocations: 60.53 MB / 1.054 GB, free: 229.6 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (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)