Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.625/1.625, 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.000988/0.000988, allocations: 188.4 kB / 384.6 MB, free: 10.87 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.345/1.345, allocations: 223.2 MB / 0.6626 GB, free: 4.277 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.0007672/0.000767, allocations: 99.89 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003858, allocations: 12 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6713, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.8849, allocations: 195.3 MB / 1.217 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.8851, allocations: 99.94 kB / 1.217 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.1584/1.044, allocations: 68.12 MB / 1.284 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.384e-06/1.044, allocations: 0 / 1.284 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001222/1.044, allocations: 32 kB / 1.284 GB, free: 10.02 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004216/1.048, allocations: 1.644 MB / 1.285 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/1.048, allocations: 8.031 kB / 1.285 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/1.051, allocations: 0.4906 MB / 1.286 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/1.053, allocations: 1.172 MB / 1.287 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/1.053, allocations: 111.1 kB / 1.287 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004992/1.054, allocations: 152 kB / 1.287 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005304/1.059, allocations: 2.493 MB / 1.29 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/1.059, allocations: 4 kB / 1.29 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/1.06, allocations: 67.98 kB / 1.29 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.06, allocations: 83.06 kB / 1.29 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/1.064, allocations: 2.038 MB / 1.292 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/1.076, allocations: 10.53 MB / 1.302 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/1.077, allocations: 0.5746 MB / 1.303 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/1.078, allocations: 392.6 kB / 1.303 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/1.078, allocations: 97.08 kB / 1.303 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.078, allocations: 38.5 kB / 1.303 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.124e-06/1.078, allocations: 4 kB / 1.303 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.02015/1.098, allocations: 6.244 MB / 1.309 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/1.098, allocations: 85.55 kB / 1.309 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/1.099, allocations: 0.8945 MB / 1.31 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/1.099, allocations: 33.7 kB / 1.31 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/1.1, allocations: 0.7616 MB / 1.311 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/1.1, allocations: 189.4 kB / 1.311 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/1.1, allocations: 20 kB / 1.311 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.1, allocations: 386.8 kB / 1.312 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009792/1.101, allocations: 0.6304 MB / 1.312 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.103, allocations: 1.011 MB / 1.313 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/1.105, allocations: 1.654 MB / 1.315 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/1.105, allocations: 4 kB / 1.315 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008555/1.113, allocations: 3.203 MB / 1.318 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003435/1.114, allocations: 439.4 kB / 1.318 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/1.114, allocations: 12 kB / 1.318 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007484/1.121, allocations: 1.844 MB / 1.32 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/1.122, allocations: 227.6 kB / 1.32 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/1.136, allocations: 10.17 MB / 1.33 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.137, allocations: 183.6 kB / 1.33 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/1.137, allocations: 40 kB / 1.33 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/1.137, allocations: 5.875 kB / 1.33 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006852/1.144, allocations: 2.612 MB / 1.333 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.07e-05/1.144, allocations: 12 kB / 1.333 GB, free: 5.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004883/1.149, allocations: 1.203 MB / 1.334 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.15, allocations: 251.5 kB / 1.334 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008109/1.158, allocations: 5.735 MB / 1.34 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.16, allocations: 147.9 kB / 1.34 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.16, allocations: 43.98 kB / 1.34 GB, free: 13.62 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001452/1.161, allocations: 0.8407 MB / 1.341 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/1.162, allocations: 82.94 kB / 1.341 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/1.169, allocations: 2.672 MB / 1.344 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.169, allocations: 4 kB / 1.344 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.169, allocations: 0 / 1.344 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/1.169, allocations: 3.984 kB / 1.344 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.181, allocations: 4.62 MB / 1.348 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/1.181, allocations: 0 / 1.348 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/1.181, allocations: 105.5 kB / 1.348 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006644/1.188, allocations: 1.696 MB / 1.35 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.188, allocations: 16 kB / 1.35 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.2, allocations: 9.723 MB / 1.36 GB, free: 9.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.2, allocations: 4 kB / 1.36 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007441/1.208, allocations: 2.636 MB / 1.362 GB, free: 6.465 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006186/1.208, allocations: 280.1 kB / 1.362 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/1.209, allocations: 8 kB / 1.362 GB, free: 6.164 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/1.209, allocations: 137.8 kB / 1.362 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/1.21, allocations: 55.8 kB / 1.363 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/1.21, allocations: 16 kB / 1.363 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001043/1.211, allocations: 0.6356 MB / 1.363 GB, free: 5.328 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.613e-06/1.211, allocations: 4 kB / 1.363 GB, free: 5.324 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002538/1.213, allocations: 0.6249 MB / 1.364 GB, free: 4.699 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003682/1.214, allocations: 168.2 kB / 1.364 GB, free: 4.527 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005968/1.22, allocations: 3.371 MB / 1.367 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.22, allocations: 4 kB / 1.367 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.3793/1.599, allocations: 1.265 MB / 1.368 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.601, allocations: 217.9 kB / 1.369 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/1.605, allocations: 3.554 MB / 1.372 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.606, allocations: 1.622 MB / 1.374 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001216/1.608, allocations: 490.6 kB / 1.374 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/1.608, allocations: 55.38 kB / 1.374 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of SimCode: time 7.31e-07/1.608, allocations: 0 / 1.374 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.03368/1.641, allocations: 23.81 MB / 1.398 GB, free: 197.7 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)