Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.304/1.304, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 179.4 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007491/0.0007491, allocations: 86.05 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003636, allocations: 10.25 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1993, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02802/0.2274, allocations: 32.06 MB / 0.9328 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.2465, allocations: 14.71 MB / 0.9471 GB, free: 16.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004043/0.2506, allocations: 135.2 kB / 0.9473 GB, free: 16.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.2535, allocations: 0.7249 MB / 0.948 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00759/0.2611, allocations: 2.682 MB / 0.9506 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005069/0.2662, allocations: 1.998 MB / 0.9525 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01096/0.2772, allocations: 12.15 MB / 0.9644 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01958/0.2968, allocations: 11.49 MB / 0.9756 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/0.303, allocations: 3.016 MB / 0.9786 GB, free: 52 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006658/0.3097, allocations: 3.495 MB / 0.982 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001838/0.3116, allocations: 296 kB / 0.9823 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004869/0.3165, allocations: 1.563 MB / 0.9838 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004059/0.3205, allocations: 2.279 MB / 0.986 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006127/0.3267, allocations: 2.784 MB / 0.9887 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.3375, allocations: 9.191 MB / 0.9977 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3376, allocations: 4 kB / 0.9977 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.897e-06/0.3376, allocations: 0 / 0.9977 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003886/0.338, allocations: 0 / 0.9977 GB, free: 12.38 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01196/0.35, allocations: 4.829 MB / 1.002 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.35, allocations: 12.03 kB / 1.002 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007418/0.3575, allocations: 1.145 MB / 1.004 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007511/0.365, allocations: 3.321 MB / 1.007 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.3654, allocations: 374.4 kB / 1.007 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/0.3671, allocations: 500 kB / 1.008 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/0.3843, allocations: 8.009 MB / 1.015 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/0.3846, allocations: 23.83 kB / 1.015 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007903/0.3854, allocations: 220 kB / 1.016 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001091/0.3865, allocations: 433.6 kB / 1.016 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.3993, allocations: 6.088 MB / 1.022 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4141/0.8134, allocations: 35.21 MB / 1.056 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.8163, allocations: 2.023 MB / 1.058 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/0.8187, allocations: 1.847 MB / 1.06 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.8188, allocations: 21.44 kB / 1.06 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.8188, allocations: 63.69 kB / 1.06 GB, free: 123.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 3.356e-06/0.8188, allocations: 0 / 1.06 GB, free: 123.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.1481/0.967, allocations: 39.02 MB / 1.098 GB, free: 112.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.9671, allocations: 86.89 kB / 1.098 GB, free: 112 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.9698, allocations: 2.276 MB / 1.101 GB, free: 110.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003945/0.9702, allocations: 71.14 kB / 1.101 GB, free: 110.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.9712, allocations: 2.276 MB / 1.103 GB, free: 108.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007102/0.972, allocations: 0.9353 MB / 1.104 GB, free: 107.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.9721, allocations: 60 kB / 1.104 GB, free: 107.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9723, allocations: 424.1 kB / 1.104 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.9746, allocations: 1.977 MB / 1.106 GB, free: 105.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.9776, allocations: 2.602 MB / 1.109 GB, free: 102.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006009/0.9836, allocations: 4.934 MB / 1.114 GB, free: 97.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.9837, allocations: 4 kB / 1.114 GB, free: 97.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01229/0.996, allocations: 7.748 MB / 1.121 GB, free: 89.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.996, allocations: 13.72 kB / 1.121 GB, free: 89.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.9961, allocations: 24 kB / 1.121 GB, free: 89.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008319/1.004, allocations: 3.217 MB / 1.124 GB, free: 86.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.006, allocations: 400.2 kB / 1.125 GB, free: 85.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03286/1.039, allocations: 31.14 MB / 1.155 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/1.042, allocations: 167.8 kB / 1.155 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/1.042, allocations: 108 kB / 1.155 GB, free: 53.43 MB / 0.698 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,92.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003367/1.046, allocations: 1.797 MB / 1.157 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007017/1.046, allocations: 332.2 kB / 1.158 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.058, allocations: 7.353 MB / 1.165 GB, free: 43.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/1.058, allocations: 28 kB / 1.165 GB, free: 43.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.763e-05/1.058, allocations: 28 kB / 1.165 GB, free: 43.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.028e-05/1.058, allocations: 15.94 kB / 1.165 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/1.077, allocations: 12.94 MB / 1.177 GB, free: 30.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/1.077, allocations: 4 kB / 1.177 GB, free: 30.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008942/1.078, allocations: 237.1 kB / 1.178 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007189/1.085, allocations: 2.855 MB / 1.18 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/1.085, allocations: 55.94 kB / 1.18 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03222/1.117, allocations: 29.96 MB / 1.21 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.118, allocations: 8 kB / 1.21 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.13, allocations: 6.894 MB / 1.217 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/1.132, allocations: 0.7783 MB / 1.217 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/1.133, allocations: 55.98 kB / 1.217 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.135, allocations: 168.8 kB / 1.217 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009041/1.136, allocations: 253.4 kB / 1.218 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.136, allocations: 72 kB / 1.218 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002348/1.138, allocations: 1.529 MB / 1.219 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.138, allocations: 0 / 1.219 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004272/1.143, allocations: 1.355 MB / 1.221 GB, free: 1.465 MB / 0.7136 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003845/1.143, allocations: 171 kB / 1.221 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.155, allocations: 6.952 MB / 1.228 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.155, allocations: 0 / 1.228 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007891/1.163, allocations: 4.412 MB / 1.232 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006963/1.17, allocations: 1.034 MB / 1.233 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/1.189, allocations: 13.17 MB / 1.246 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004437/1.194, allocations: 3.755 MB / 1.249 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/1.195, allocations: 171.4 kB / 1.25 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/1.195, allocations: 0 / 1.25 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of Templates: time 0.5843/1.779, allocations: 226.6 MB / 1.471 GB, free: 226.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)