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.001596/0.001596, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001819/0.001819, allocations: 196.8 kB / 16.14 MB, free: 6.723 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002616/0.002616, allocations: 282.4 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.117/1.117, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 95.05 kB / 0.6057 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1534, allocations: 89.16 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0181/0.1716, allocations: 14.67 MB / 0.7071 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.1873, allocations: 10.38 MB / 0.7173 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.1884, allocations: 55.62 kB / 0.7173 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.1925, allocations: 1.575 MB / 0.7189 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.1969, allocations: 1.605 MB / 0.7204 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.1986, allocations: 0.694 MB / 0.7211 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004108/0.2027, allocations: 3.405 MB / 0.7244 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.2047, allocations: 1.356 MB / 0.7257 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.2069, allocations: 1.394 MB / 0.7271 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.2086, allocations: 1.163 MB / 0.7282 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.2088, allocations: 96 kB / 0.7283 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.2106, allocations: 0.8851 MB / 0.7292 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005801/0.2111, allocations: 0.5412 MB / 0.7297 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.2122, allocations: 0.8897 MB / 0.7306 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.2153, allocations: 2.733 MB / 0.7333 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2154, allocations: 4 kB / 0.7333 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2154, allocations: 0 / 0.7333 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.081e-05/0.2154, allocations: 0 / 0.7333 GB, free: 11.25 MB / 0.5294 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.004197/0.2196, allocations: 2.166 MB / 0.7354 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2197, allocations: 15.97 kB / 0.7354 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.2316, allocations: 2.105 MB / 0.7375 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.2342, allocations: 1.217 MB / 0.7386 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.2343, allocations: 90.62 kB / 0.7387 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.2346, allocations: 128 kB / 0.7389 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00599/0.2406, allocations: 2.666 MB / 0.7415 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.2407, allocations: 7.922 kB / 0.7415 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.2409, allocations: 59.97 kB / 0.7415 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006609/0.2415, allocations: 194.1 kB / 0.7417 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00765/0.2492, allocations: 2.791 MB / 0.7444 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.2649, allocations: 10.49 MB / 0.7547 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006564/0.2714, allocations: 2.34 MB / 0.757 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.2747, allocations: 1.28 MB / 0.7582 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.2747, allocations: 12.98 kB / 0.7582 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.2748, allocations: 43.56 kB / 0.7583 GB, free: 0.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.805e-06/0.2748, allocations: 0 / 0.7583 GB, free: 0.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.3193/0.5941, allocations: 16.48 MB / 0.7744 GB, free: 62.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.5943, allocations: 66.97 kB / 0.7744 GB, free: 62.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.5962, allocations: 1.172 MB / 0.7756 GB, free: 62.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.5965, allocations: 51.11 kB / 0.7756 GB, free: 62.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.5969, allocations: 0.7389 MB / 0.7763 GB, free: 61.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.5974, allocations: 0.5126 MB / 0.7768 GB, free: 61.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006299/0.598, allocations: 288.6 kB / 0.7771 GB, free: 61.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.5981, allocations: 314.4 kB / 0.7774 GB, free: 60.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/0.6015, allocations: 1.507 MB / 0.7789 GB, free: 60.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.605, allocations: 1.777 MB / 0.7806 GB, free: 59.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/0.6117, allocations: 3.37 MB / 0.7839 GB, free: 57.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.6117, allocations: 1.094 kB / 0.7839 GB, free: 57.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01261/0.6244, allocations: 5.276 MB / 0.7891 GB, free: 54.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.6244, allocations: 7.844 kB / 0.7891 GB, free: 54.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.6244, allocations: 6.938 kB / 0.7891 GB, free: 54.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006831/0.6313, allocations: 1.88 MB / 0.7909 GB, free: 53.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.6331, allocations: 419.9 kB / 0.7913 GB, free: 53.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.655, allocations: 22.18 MB / 0.813 GB, free: 35.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.6574, allocations: 311.6 kB / 0.8133 GB, free: 34.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.6576, allocations: 71.89 kB / 0.8134 GB, free: 34.82 MB / 0.545 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.0007747/0.6584, allocations: 457.5 kB / 0.8138 GB, free: 34.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.6587, allocations: 177.3 kB / 0.814 GB, free: 34.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.6702, allocations: 5.327 MB / 0.8192 GB, free: 28.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.6703, allocations: 12 kB / 0.8192 GB, free: 28.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.033e-05/0.6703, allocations: 23.94 kB / 0.8192 GB, free: 28.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.6704, allocations: 7.969 kB / 0.8192 GB, free: 28.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.6845, allocations: 7.419 MB / 0.8265 GB, free: 21.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.6845, allocations: 4 kB / 0.8265 GB, free: 21.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.686, allocations: 343.4 kB / 0.8268 GB, free: 20.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005631/0.6916, allocations: 1.71 MB / 0.8285 GB, free: 19.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.6918, allocations: 43.97 kB / 0.8285 GB, free: 19.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/0.7132, allocations: 21.34 MB / 0.8493 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.7132, allocations: 7.969 kB / 0.8493 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.7258, allocations: 4.893 MB / 0.8541 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.7269, allocations: 498.7 kB / 0.8546 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/0.7272, allocations: 28 kB / 0.8546 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/0.7292, allocations: 315.5 kB / 0.8549 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/0.7298, allocations: 156.9 kB / 0.8551 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.7299, allocations: 59.97 kB / 0.8551 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001187/0.7311, allocations: 0.7899 MB / 0.8559 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7311, allocations: 0 / 0.8559 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002168/0.7333, allocations: 0.6542 MB / 0.8565 GB, free: 5.297 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.0003016/0.7336, allocations: 147.1 kB / 0.8567 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01186/0.7455, allocations: 5.133 MB / 0.8617 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.7456, allocations: 0 / 0.8617 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007551/0.7531, allocations: 3.358 MB / 0.865 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.7557, allocations: 0.5215 MB / 0.8655 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00951/0.7652, allocations: 4.99 MB / 0.8704 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.7667, allocations: 1.561 MB / 0.8719 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001695/0.7684, allocations: 391.1 kB / 0.8723 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.7688, allocations: 107.4 kB / 0.8724 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.7688, allocations: 0 / 0.8724 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of Templates: time 0.0745/0.8433, allocations: 43.33 MB / 0.9147 GB, free: 10.07 MB / 0.6231 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)