Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, 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.002457/0.002457, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.86 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3635, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03603/0.3996, allocations: 33.04 MB / 1.1 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02704/0.4267, allocations: 14.66 MB / 1.114 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00521/0.432, allocations: 143.2 kB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.4422, allocations: 3.416 MB / 1.118 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.4533, allocations: 2.669 MB / 1.12 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007649/0.461, allocations: 2.132 MB / 1.122 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01752/0.4785, allocations: 8.839 MB / 1.131 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01909/0.4977, allocations: 11.36 MB / 1.142 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00814/0.5059, allocations: 4.011 MB / 1.146 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007938/0.5138, allocations: 4.213 MB / 1.15 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003339/0.5172, allocations: 0.7188 MB / 1.151 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/0.5231, allocations: 1.72 MB / 1.153 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005387/0.5285, allocations: 2.83 MB / 1.155 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008669/0.5372, allocations: 3.388 MB / 1.159 GB, free: 13.29 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.5541, allocations: 11.19 MB / 1.17 GB, free: 2.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.5541, allocations: 0 / 1.17 GB, free: 2.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5541, allocations: 4 kB / 1.17 GB, free: 2.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004242/0.5546, allocations: 0 / 1.17 GB, free: 2.066 MB / 0.92 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.01864/0.5732, allocations: 5.976 MB / 1.175 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5733, allocations: 12.03 kB / 1.175 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008341/0.5816, allocations: 1.145 MB / 1.177 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009569/0.5912, allocations: 3.325 MB / 1.18 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/0.5918, allocations: 374.4 kB / 1.18 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00229/0.5941, allocations: 496 kB / 1.181 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.6164, allocations: 8.017 MB / 1.188 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002991/0.6168, allocations: 19.78 kB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/0.6188, allocations: 216 kB / 1.189 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001275/0.6201, allocations: 445.5 kB / 1.189 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.6352, allocations: 6.077 MB / 1.195 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05047/0.6857, allocations: 35.14 MB / 1.229 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/0.6891, allocations: 2.03 MB / 1.231 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/0.6923, allocations: 1.861 MB / 1.233 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.6925, allocations: 18 kB / 1.233 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.201e-05/0.6926, allocations: 68.28 kB / 1.233 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=171): time 3.727e-06/0.6926, allocations: 0 / 1.233 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=276): time 0.7806/1.473, allocations: 38.86 MB / 1.271 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/1.473, allocations: 83.84 kB / 1.271 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005382/1.479, allocations: 2.281 MB / 1.274 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004521/1.479, allocations: 69.3 kB / 1.274 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.481, allocations: 2.285 MB / 1.276 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009325/1.482, allocations: 0.9291 MB / 1.277 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/1.483, allocations: 0.5083 MB / 1.277 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/1.483, allocations: 306.4 kB / 1.277 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/1.486, allocations: 1.974 MB / 1.279 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003284/1.489, allocations: 2.604 MB / 1.282 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00605/1.495, allocations: 4.933 MB / 1.287 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/1.495, allocations: 6.031 kB / 1.287 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01327/1.509, allocations: 7.755 MB / 1.294 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.509, allocations: 11.16 kB / 1.294 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/1.509, allocations: 16.16 kB / 1.294 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008764/1.517, allocations: 3.236 MB / 1.298 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.519, allocations: 407.9 kB / 1.298 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03677/1.556, allocations: 33.91 MB / 1.331 GB, free: 115.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/1.559, allocations: 165.6 kB / 1.331 GB, free: 115.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004598/1.56, allocations: 112 kB / 1.331 GB, free: 115.6 MB / 0.9981 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,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003039/1.563, allocations: 1.795 MB / 1.333 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008921/1.564, allocations: 329.7 kB / 1.333 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.576, allocations: 7.36 MB / 1.341 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.576, allocations: 24 kB / 1.341 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.849e-05/1.576, allocations: 32 kB / 1.341 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/1.576, allocations: 15.94 kB / 1.341 GB, free: 106 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01995/1.596, allocations: 12.92 MB / 1.353 GB, free: 92.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/1.596, allocations: 8 kB / 1.353 GB, free: 92.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/1.597, allocations: 227.5 kB / 1.353 GB, free: 92.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007245/1.604, allocations: 2.884 MB / 1.356 GB, free: 89.79 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002731/1.604, allocations: 52.88 kB / 1.356 GB, free: 89.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03425/1.638, allocations: 32.68 MB / 1.388 GB, free: 56.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.639, allocations: 11.94 kB / 1.388 GB, free: 56.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.65, allocations: 6.889 MB / 1.395 GB, free: 49.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.652, allocations: 0.7805 MB / 1.396 GB, free: 48.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008849/1.653, allocations: 56 kB / 1.396 GB, free: 48.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.655, allocations: 167.8 kB / 1.396 GB, free: 48.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008343/1.656, allocations: 253.5 kB / 1.396 GB, free: 47.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/1.656, allocations: 78.41 kB / 1.396 GB, free: 47.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002121/1.658, allocations: 1.525 MB / 1.398 GB, free: 46.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.658, allocations: 0 / 1.398 GB, free: 46.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004461/1.662, allocations: 1.371 MB / 1.399 GB, free: 44.88 MB / 0.9981 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.0004359/1.663, allocations: 183.1 kB / 1.399 GB, free: 44.69 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.675, allocations: 8.377 MB / 1.407 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.675, allocations: 0.875 kB / 1.407 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006733/1.682, allocations: 4.415 MB / 1.412 GB, free: 31.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006055/1.688, allocations: 1.117 MB / 1.413 GB, free: 30.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.707, allocations: 12.49 MB / 1.425 GB, free: 18.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004046/1.711, allocations: 3.647 MB / 1.429 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00217/1.713, allocations: 0.556 MB / 1.429 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/1.714, allocations: 159.4 kB / 1.429 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of SimCode: time 1.153e-06/1.714, allocations: 0 / 1.429 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of Templates: time 0.1287/1.842, allocations: 78.08 MB / 1.506 GB, free: 0.7422 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)