Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007464/0.0007464, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004791/0.004791, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 282.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9441/0.9441, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004319, allocations: 17.16 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01401/0.1658, allocations: 13.41 MB / 0.6982 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.1785, allocations: 9.266 MB / 0.7073 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.1797, allocations: 51.62 kB / 0.7073 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008516/0.1806, allocations: 277.8 kB / 0.7076 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.1841, allocations: 1.406 MB / 0.709 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.1857, allocations: 0.6853 MB / 0.7096 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003234/0.189, allocations: 3.179 MB / 0.7127 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.1921, allocations: 1.976 MB / 0.7147 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.1934, allocations: 0.8713 MB / 0.7155 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.1947, allocations: 1.058 MB / 0.7166 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.1949, allocations: 72 kB / 0.7166 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.1964, allocations: 0.8577 MB / 0.7175 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.1969, allocations: 0.5139 MB / 0.718 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007728/0.1977, allocations: 0.8408 MB / 0.7188 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.2003, allocations: 2.663 MB / 0.7214 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2003, allocations: 4 kB / 0.7214 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2003, allocations: 0 / 0.7214 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.662e-05/0.2004, allocations: 0 / 0.7214 GB, free: 9.809 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.0033/0.2037, allocations: 1.82 MB / 0.7232 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2037, allocations: 12.03 kB / 0.7232 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.2157, allocations: 2.14 MB / 0.7253 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.218, allocations: 1.201 MB / 0.7264 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.2181, allocations: 98.73 kB / 0.7265 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.2183, allocations: 120.1 kB / 0.7267 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005838/0.2242, allocations: 2.703 MB / 0.7293 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.2242, allocations: 7.938 kB / 0.7293 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.2244, allocations: 51.98 kB / 0.7293 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006394/0.2251, allocations: 182.1 kB / 0.7295 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007782/0.2328, allocations: 2.846 MB / 0.7323 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.2465, allocations: 10.58 MB / 0.7426 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007013/0.2536, allocations: 2.57 MB / 0.7451 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/0.2568, allocations: 1.313 MB / 0.7464 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/0.2569, allocations: 9 kB / 0.7464 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.2569, allocations: 43.56 kB / 0.7465 GB, free: 15.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 3.206e-06/0.2569, allocations: 4 kB / 0.7465 GB, free: 15.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04611/0.303, allocations: 13.45 MB / 0.7596 GB, free: 1.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3031, allocations: 72.66 kB / 0.7597 GB, free: 1.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.3045, allocations: 1.117 MB / 0.7608 GB, free: 312 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.3047, allocations: 53.7 kB / 0.7608 GB, free: 252 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005299/0.3052, allocations: 0.7001 MB / 0.7615 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.3057, allocations: 461.3 kB / 0.762 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.3059, allocations: 109.7 kB / 0.7621 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.306, allocations: 361.8 kB / 0.7624 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/0.3095, allocations: 1.366 MB / 0.7637 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/0.3131, allocations: 1.62 MB / 0.7653 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/0.3202, allocations: 3.034 MB / 0.7683 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3202, allocations: 0 / 0.7683 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01174/0.3319, allocations: 4.486 MB / 0.7727 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.332, allocations: 8.125 kB / 0.7727 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.332, allocations: 12 kB / 0.7727 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005268/0.3373, allocations: 1.423 MB / 0.7741 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/0.3394, allocations: 455.2 kB / 0.7745 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3224/0.6618, allocations: 24.55 MB / 0.7985 GB, free: 71.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/0.6645, allocations: 311.8 kB / 0.7988 GB, free: 71.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.6646, allocations: 65.17 kB / 0.7988 GB, free: 71.17 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007464/0.6654, allocations: 437.8 kB / 0.7993 GB, free: 70.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.6656, allocations: 161.3 kB / 0.7994 GB, free: 70.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.6776, allocations: 4.5 MB / 0.8038 GB, free: 69.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.6776, allocations: 17.53 kB / 0.8038 GB, free: 69.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/0.6776, allocations: 20.12 kB / 0.8038 GB, free: 69.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6777, allocations: 6.375 kB / 0.8038 GB, free: 69.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.6916, allocations: 6.818 MB / 0.8105 GB, free: 66.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.6916, allocations: 3.969 kB / 0.8105 GB, free: 66.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/0.6935, allocations: 390.5 kB / 0.8109 GB, free: 66.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/0.6985, allocations: 1.304 MB / 0.8122 GB, free: 66.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.6986, allocations: 47.34 kB / 0.8122 GB, free: 66.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.7175, allocations: 23.52 MB / 0.8352 GB, free: 45.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7175, allocations: 3.125 kB / 0.8352 GB, free: 45.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.7276, allocations: 4.249 MB / 0.8393 GB, free: 43.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.7283, allocations: 464.5 kB / 0.8398 GB, free: 42.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.7286, allocations: 23.88 kB / 0.8398 GB, free: 42.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.7306, allocations: 324.3 kB / 0.8401 GB, free: 42.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.731, allocations: 127.8 kB / 0.8402 GB, free: 42.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.7311, allocations: 47.59 kB / 0.8403 GB, free: 42.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007764/0.7319, allocations: 0.7547 MB / 0.841 GB, free: 42.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7319, allocations: 0 / 0.841 GB, free: 42.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001764/0.7337, allocations: 0.5691 MB / 0.8416 GB, free: 41.97 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002481/0.7339, allocations: 145.9 kB / 0.8417 GB, free: 41.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009729/0.7437, allocations: 5.151 MB / 0.8467 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.7437, allocations: 3.906 kB / 0.8467 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005929/0.7496, allocations: 3.501 MB / 0.8501 GB, free: 35.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.7523, allocations: 0.515 MB / 0.8506 GB, free: 34.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006988/0.7593, allocations: 4.693 MB / 0.8552 GB, free: 30.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007985/0.7601, allocations: 1.476 MB / 0.8567 GB, free: 28.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001505/0.7616, allocations: 429.6 kB / 0.8571 GB, free: 28.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.762, allocations: 115.4 kB / 0.8572 GB, free: 28 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.762, allocations: 0 / 0.8572 GB, free: 28 MB / 0.5606 GB Notification: Performance of Templates: time 0.04702/0.809, allocations: 37.06 MB / 0.8934 GB, free: 7.387 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)