Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 293 MB / 309 MB, free: 4.793 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009904/0.0009907, allocations: 176 kB / 378.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.6383 GB, free: 8.211 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007326/0.0007326, allocations: 94.42 kB / 0.7527 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7912/1.057, allocations: 210.7 MB / 1.196 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.058, allocations: 101.4 kB / 1.196 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2158/1.274, allocations: 85.48 MB / 1.28 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.884e-06/1.274, allocations: 0 / 1.28 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001124/1.274, allocations: 43.94 kB / 1.28 GB, free: 12.49 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004379/1.278, allocations: 1.84 MB / 1.282 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.278, allocations: 12.03 kB / 1.282 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/1.289, allocations: 1.97 MB / 1.284 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/1.294, allocations: 1.578 MB / 1.285 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/1.294, allocations: 82.31 kB / 1.285 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003037/1.294, allocations: 131.8 kB / 1.285 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006307/1.3, allocations: 2.725 MB / 1.288 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.325e-05/1.3, allocations: 11.94 kB / 1.288 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/1.301, allocations: 55.97 kB / 1.288 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/1.301, allocations: 90.28 kB / 1.288 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007831/1.309, allocations: 2.846 MB / 1.291 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/1.326, allocations: 10.74 MB / 1.301 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006061/1.332, allocations: 2.393 MB / 1.304 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/1.335, allocations: 1.3 MB / 1.305 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-05/1.335, allocations: 12.98 kB / 1.305 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/1.335, allocations: 51.56 kB / 1.305 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=89): time 3.066e-06/1.335, allocations: 0 / 1.305 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of matching and sorting (n=153): time 0.05675/1.392, allocations: 17.34 MB / 1.322 GB, free: 244 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.392, allocations: 222.9 kB / 1.322 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.394, allocations: 1.18 MB / 1.323 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/1.394, allocations: 49.7 kB / 1.323 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/1.395, allocations: 0.7322 MB / 1.324 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/1.396, allocations: 0.5198 MB / 1.325 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.396, allocations: 27.94 kB / 1.325 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.396, allocations: 369.9 kB / 1.325 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/1.399, allocations: 1.542 MB / 1.326 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/1.403, allocations: 1.824 MB / 1.328 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006999/1.41, allocations: 3.405 MB / 1.332 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.41, allocations: 8 kB / 1.332 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01389/1.424, allocations: 5.413 MB / 1.337 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/1.424, allocations: 8.75 kB / 1.337 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.424, allocations: 4 kB / 1.337 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008194/1.432, allocations: 2.137 MB / 1.339 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/1.434, allocations: 419.2 kB / 1.339 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/1.462, allocations: 22.59 MB / 1.361 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/1.465, allocations: 319.5 kB / 1.362 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/1.465, allocations: 67.97 kB / 1.362 GB, free: 6.039 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001139/1.467, allocations: 461.5 kB / 1.362 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/1.467, allocations: 177.9 kB / 1.362 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5305/1.998, allocations: 5.484 MB / 1.368 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/1.998, allocations: 16.53 kB / 1.368 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.313e-05/1.998, allocations: 18.59 kB / 1.368 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.502e-05/1.998, allocations: 6.891 kB / 1.368 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/2.015, allocations: 7.696 MB / 1.375 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/2.015, allocations: 3.641 kB / 1.375 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/2.017, allocations: 359.2 kB / 1.376 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00691/2.024, allocations: 1.988 MB / 1.378 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/2.024, allocations: 45.34 kB / 1.378 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02643/2.05, allocations: 21.76 MB / 1.399 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/2.05, allocations: 4.719 kB / 1.399 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/2.063, allocations: 5.087 MB / 1.404 GB, free: 205.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/2.065, allocations: 0.509 MB / 1.404 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/2.065, allocations: 33.31 kB / 1.404 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/2.068, allocations: 336.1 kB / 1.405 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008317/2.068, allocations: 140.7 kB / 1.405 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/2.069, allocations: 57.73 kB / 1.405 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001313/2.07, allocations: 0.789 MB / 1.406 GB, free: 205 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.643e-06/2.07, allocations: 1.625 kB / 1.406 GB, free: 205 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0026/2.072, allocations: 0.7253 MB / 1.406 GB, free: 205 MB / 0.9323 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 (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004933/2.073, allocations: 215.3 kB / 1.407 GB, free: 204.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009944/2.083, allocations: 5.215 MB / 1.412 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/2.083, allocations: 0 / 1.412 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006367/2.089, allocations: 3.399 MB / 1.415 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/2.092, allocations: 0.5067 MB / 1.415 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007785/2.1, allocations: 4.858 MB / 1.42 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/2.101, allocations: 1.567 MB / 1.422 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00198/2.103, allocations: 405.6 kB / 1.422 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/2.104, allocations: 116.1 kB / 1.422 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of SimCode: time 7.02e-07/2.104, allocations: 0 / 1.422 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.07096/2.175, allocations: 44.61 MB / 1.466 GB, free: 198.4 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)