Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001267/0.001268, allocations: 184.8 kB / 366.7 MB, free: 1.656 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.677/1.677, allocations: 205.3 MB / 0.626 GB, free: 7.184 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.0008454/0.0008451, allocations: 95.52 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.148e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6574, allocations: 116.3 MB / 0.9733 GB, free: 75.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2503/0.9077, allocations: 207.3 MB / 1.176 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.908, allocations: 96.47 kB / 1.176 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2056/1.114, allocations: 83.86 MB / 1.258 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.903e-06/1.114, allocations: 4 kB / 1.258 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001135/1.114, allocations: 47.92 kB / 1.258 GB, free: 2.051 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.00327/1.117, allocations: 1.571 MB / 1.259 GB, free: 440 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.117, allocations: 15.97 kB / 1.259 GB, free: 424 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5199/1.637, allocations: 1.872 MB / 1.261 GB, free: 210.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/1.641, allocations: 1.214 MB / 1.262 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/1.641, allocations: 42.41 kB / 1.262 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/1.641, allocations: 68.36 kB / 1.262 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003359/1.644, allocations: 1.698 MB / 1.264 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/1.648, allocations: 2.063 MB / 1.266 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/1.648, allocations: 11.16 kB / 1.266 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/1.648, allocations: 4.969 kB / 1.266 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/1.648, allocations: 85.34 kB / 1.266 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/1.664, allocations: 10.43 MB / 1.276 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/1.666, allocations: 1.661 MB / 1.278 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/1.668, allocations: 0.8792 MB / 1.279 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-05/1.668, allocations: 12.11 kB / 1.279 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.668, allocations: 45.69 kB / 1.279 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 5.32e-06/1.668, allocations: 0 / 1.279 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01676/1.685, allocations: 5.729 MB / 1.285 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/1.685, allocations: 223.7 kB / 1.285 GB, free: 203 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/1.686, allocations: 0.7612 MB / 1.286 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002206/1.686, allocations: 29.83 kB / 1.286 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/1.687, allocations: 0.7139 MB / 1.286 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/1.687, allocations: 435.7 kB / 1.287 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.687, allocations: 0 / 1.287 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.688, allocations: 358.3 kB / 1.287 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/1.689, allocations: 0.9275 MB / 1.288 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/1.69, allocations: 1.187 MB / 1.289 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/1.692, allocations: 1.076 MB / 1.29 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.692, allocations: 3.297 kB / 1.29 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.009244/1.701, allocations: 3.615 MB / 1.294 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/1.701, allocations: 7.281 kB / 1.294 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.701, allocations: 10.2 kB / 1.294 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006666/1.708, allocations: 1.571 MB / 1.295 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/1.71, allocations: 440.5 kB / 1.296 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/1.732, allocations: 23.89 MB / 1.319 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/1.735, allocations: 296.7 kB / 1.319 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.735, allocations: 63.61 kB / 1.319 GB, free: 181.7 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003533/1.736, allocations: 136.2 kB / 1.319 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007528/1.743, allocations: 3.418 MB / 1.323 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/1.744, allocations: 145.4 kB / 1.323 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008282/1.752, allocations: 3.662 MB / 1.326 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/1.752, allocations: 19.95 kB / 1.327 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.684e-05/1.752, allocations: 12.94 kB / 1.327 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.752, allocations: 4.672 kB / 1.327 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/1.763, allocations: 5.953 MB / 1.332 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.763, allocations: 0 / 1.332 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/1.765, allocations: 386.8 kB / 1.333 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005369/1.771, allocations: 1.484 MB / 1.334 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/1.771, allocations: 23.16 kB / 1.334 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/1.79, allocations: 22.91 MB / 1.357 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/1.79, allocations: 5.938 kB / 1.357 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007716/1.798, allocations: 3.606 MB / 1.36 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000985/1.799, allocations: 458.3 kB / 1.361 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/1.799, allocations: 10.12 kB / 1.361 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.801, allocations: 293.7 kB / 1.361 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/1.802, allocations: 127.6 kB / 1.361 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.802, allocations: 52.09 kB / 1.361 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007684/1.803, allocations: 0.5752 MB / 1.362 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/1.803, allocations: 3.781 kB / 1.362 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00239/1.805, allocations: 0.5354 MB / 1.362 GB, free: 155.2 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007102/1.812, allocations: 4.952 MB / 1.367 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005996/1.818, allocations: 4.154 MB / 1.371 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.818, allocations: 0.75 kB / 1.371 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004128/1.822, allocations: 2.984 MB / 1.374 GB, free: 148 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/1.825, allocations: 439.4 kB / 1.374 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/1.83, allocations: 3.121 MB / 1.377 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/1.831, allocations: 1.512 MB / 1.379 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001674/1.833, allocations: 406.9 kB / 1.379 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/1.834, allocations: 0.6128 MB / 1.38 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/1.834, allocations: 0 / 1.38 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07563/1.909, allocations: 46.87 MB / 1.426 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/1.91, allocations: 157.5 kB / 1.426 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/5.331, allocations: 0 / 1.426 GB, free: 113.1 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)