Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.64/1.64, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009825/0.0009823, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007494/0.0007494, allocations: 95.86 kB / 0.7808 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 15.98 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5846, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.8169, allocations: 196.2 MB / 1.218 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.8172, allocations: 100.8 kB / 1.218 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.1652/0.9824, allocations: 70.77 MB / 1.287 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9824, allocations: 4 kB / 1.287 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001138/0.9825, allocations: 39.98 kB / 1.287 GB, free: 6.457 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004503/0.9871, allocations: 1.776 MB / 1.289 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.9871, allocations: 8.031 kB / 1.289 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/0.9905, allocations: 0.6621 MB / 1.29 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.9934, allocations: 1.267 MB / 1.291 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.9935, allocations: 123.2 kB / 1.291 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005708/0.9941, allocations: 156 kB / 1.291 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005303/0.9994, allocations: 2.665 MB / 1.294 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/0.9995, allocations: 11.88 kB / 1.294 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.9997, allocations: 71.98 kB / 1.294 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.9998, allocations: 87.22 kB / 1.294 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/1.004, allocations: 2.218 MB / 1.296 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/1.018, allocations: 10.89 MB / 1.307 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/1.019, allocations: 0.7543 MB / 1.307 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008431/1.02, allocations: 0.5403 MB / 1.308 GB, free: 196 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/1.02, allocations: 89.47 kB / 1.308 GB, free: 88 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/1.02, allocations: 38.94 kB / 1.308 GB, free: 40 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 3.276e-06/1.02, allocations: 4 kB / 1.308 GB, free: 36 kB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.02725/1.048, allocations: 9.088 MB / 1.317 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/1.048, allocations: 85.77 kB / 1.317 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/1.049, allocations: 0.9415 MB / 1.318 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/1.05, allocations: 37.7 kB / 1.318 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006056/1.05, allocations: 0.7737 MB / 1.319 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/1.051, allocations: 256.3 kB / 1.319 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/1.051, allocations: 24 kB / 1.319 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.051, allocations: 394.7 kB / 1.319 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/1.052, allocations: 0.8067 MB / 1.32 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/1.054, allocations: 1.171 MB / 1.321 GB, free: 2.176 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/1.056, allocations: 2.017 MB / 1.323 GB, free: 12 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.056, allocations: 4 kB / 1.323 GB, free: 8 kB / 0.8855 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.009824/1.066, allocations: 3.822 MB / 1.327 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004164/1.067, allocations: 413.1 kB / 1.327 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/1.067, allocations: 15.98 kB / 1.327 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008246/1.075, allocations: 2.181 MB / 1.329 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/1.076, allocations: 227.6 kB / 1.33 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/1.094, allocations: 11.44 MB / 1.341 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.096, allocations: 203.5 kB / 1.341 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/1.096, allocations: 50.05 kB / 1.341 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.096, allocations: 5.562 kB / 1.341 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007998/1.104, allocations: 3.103 MB / 1.344 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/1.104, allocations: 12 kB / 1.344 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005331/1.11, allocations: 1.363 MB / 1.345 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.111, allocations: 291.5 kB / 1.346 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.122, allocations: 6.6 MB / 1.352 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.124, allocations: 167.7 kB / 1.352 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/1.124, allocations: 47.98 kB / 1.352 GB, free: 1.516 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.00161/1.126, allocations: 0.8948 MB / 1.353 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/1.126, allocations: 86.91 kB / 1.353 GB, free: 0.5234 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00887/1.135, allocations: 3.372 MB / 1.357 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.135, allocations: 4 kB / 1.357 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.135, allocations: 4 kB / 1.357 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.135, allocations: 3.984 kB / 1.357 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/1.148, allocations: 5.954 MB / 1.362 GB, free: 7.066 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.148, allocations: 0 / 1.362 GB, free: 7.066 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/1.149, allocations: 111.8 kB / 1.363 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007403/1.156, allocations: 1.969 MB / 1.365 GB, free: 4.98 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/1.156, allocations: 16 kB / 1.365 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4214/1.578, allocations: 9.814 MB / 1.374 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.578, allocations: 2.469 kB / 1.374 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007633/1.585, allocations: 3.224 MB / 1.377 GB, free: 196.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/1.586, allocations: 334 kB / 1.378 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.586, allocations: 21.19 kB / 1.378 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/1.587, allocations: 148.3 kB / 1.378 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/1.587, allocations: 67.62 kB / 1.378 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/1.587, allocations: 25.09 kB / 1.378 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008062/1.588, allocations: 0.6714 MB / 1.379 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/1.588, allocations: 0.8438 kB / 1.379 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002145/1.59, allocations: 0.7215 MB / 1.379 GB, free: 196.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003296/1.591, allocations: 178.6 kB / 1.379 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00747/1.598, allocations: 4.126 MB / 1.383 GB, free: 196 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.598, allocations: 0 / 1.383 GB, free: 196 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/1.601, allocations: 1.48 MB / 1.385 GB, free: 195.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.602, allocations: 244.3 kB / 1.385 GB, free: 195.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/1.607, allocations: 4.07 MB / 1.389 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.608, allocations: 1.732 MB / 1.391 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001236/1.61, allocations: 0.5212 MB / 1.391 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/1.61, allocations: 64.14 kB / 1.391 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of SimCode: time 6.91e-07/1.61, allocations: 0 / 1.391 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.03804/1.648, allocations: 29.96 MB / 1.421 GB, free: 192.6 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)