Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.739/1.739, allocations: 289.7 MB / 302.2 MB, free: 2.102 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.001257/0.001257, allocations: 184.6 kB / 371.6 MB, free: 3.43 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.837/1.837, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009154/0.0009154, allocations: 96.88 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.639e-05/4.657e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9571/1.257, allocations: 172 MB / 1.148 GB, free: 20.89 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/1.258, allocations: 96.86 kB / 1.148 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.5227/1.78, allocations: 199.2 MB / 1.343 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/1.781, allocations: 0 / 1.343 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000718/1.781, allocations: 135.9 kB / 1.343 GB, free: 13.4 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01871/1.8, allocations: 4.465 MB / 1.347 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/1.8, allocations: 8.031 kB / 1.347 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004562/1.805, allocations: 0.801 MB / 1.348 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008831/1.814, allocations: 1.045 MB / 1.349 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/1.825, allocations: 3.402 MB / 1.352 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005092/1.825, allocations: 415.1 kB / 1.353 GB, free: 3.141 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00287/1.828, allocations: 0.5389 MB / 1.353 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/1.854, allocations: 8.485 MB / 1.361 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/1.854, allocations: 35.7 kB / 1.361 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/1.856, allocations: 244 kB / 1.362 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004111/1.856, allocations: 314.8 kB / 1.362 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/1.875, allocations: 6.032 MB / 1.368 GB, free: 3.07 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7447/2.62, allocations: 40.11 MB / 1.407 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/2.625, allocations: 3.063 MB / 1.41 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003846/2.629, allocations: 1.952 MB / 1.412 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/2.629, allocations: 19.88 kB / 1.412 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/2.629, allocations: 53.84 kB / 1.412 GB, free: 129.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 6.813e-06/2.629, allocations: 0 / 1.412 GB, free: 129.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.01231/2.642, allocations: 6.03 MB / 1.418 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/2.642, allocations: 70.25 kB / 1.418 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/2.644, allocations: 1.288 MB / 1.419 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/2.644, allocations: 52.2 kB / 1.419 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/2.646, allocations: 2.244 MB / 1.421 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/2.646, allocations: 0.624 MB / 1.422 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/2.647, allocations: 44.69 kB / 1.422 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001721/2.647, allocations: 402.3 kB / 1.422 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/2.648, allocations: 1.152 MB / 1.424 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/2.65, allocations: 1.822 MB / 1.425 GB, free: 126 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/2.652, allocations: 1.492 MB / 1.427 GB, free: 126 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/2.652, allocations: 6.281 kB / 1.427 GB, free: 126 MB / 0.9323 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007312/2.659, allocations: 4.494 MB / 1.431 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/2.659, allocations: 14.94 kB / 1.431 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/2.659, allocations: 22.81 kB / 1.431 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00354/2.663, allocations: 1.569 MB / 1.433 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/2.664, allocations: 349.5 kB / 1.433 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/2.684, allocations: 17.01 MB / 1.45 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/2.686, allocations: 118 kB / 1.45 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/2.687, allocations: 94.59 kB / 1.45 GB, free: 120.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004831/2.687, allocations: 237.5 kB / 1.45 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000524/2.688, allocations: 226 kB / 1.45 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006947/2.695, allocations: 4.037 MB / 1.454 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/2.695, allocations: 19.59 kB / 1.454 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/2.695, allocations: 16.41 kB / 1.454 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/2.695, allocations: 13.53 kB / 1.454 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/2.711, allocations: 9.371 MB / 1.463 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/2.711, allocations: 7.578 kB / 1.463 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/2.712, allocations: 183.7 kB / 1.464 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/2.715, allocations: 1.355 MB / 1.465 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/2.715, allocations: 34.91 kB / 1.465 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/2.732, allocations: 15.87 MB / 1.481 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.732, allocations: 6.969 kB / 1.481 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/2.739, allocations: 4.317 MB / 1.485 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/2.74, allocations: 0.5217 MB / 1.485 GB, free: 111 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/2.741, allocations: 41.67 kB / 1.485 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009978/2.742, allocations: 88.64 kB / 1.485 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005426/2.742, allocations: 162 kB / 1.486 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/2.742, allocations: 47.09 kB / 1.486 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001357/2.744, allocations: 0.9711 MB / 1.487 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.41e-07/2.744, allocations: 2.844 kB / 1.487 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003934/2.748, allocations: 1.036 MB / 1.488 GB, free: 110.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00665/2.754, allocations: 6.071 MB / 1.493 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00676/2.761, allocations: 4.183 MB / 1.498 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.761, allocations: 0 / 1.498 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004125/2.765, allocations: 2.617 MB / 1.5 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/2.769, allocations: 0.6915 MB / 1.501 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/2.789, allocations: 8.269 MB / 1.509 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004981/2.794, allocations: 3.662 MB / 1.512 GB, free: 99.09 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002124/2.796, allocations: 467.3 kB / 1.513 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002435/2.799, allocations: 1.794 MB / 1.515 GB, free: 97.52 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/2.799, allocations: 0 / 1.515 GB, free: 97.52 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/2.927, allocations: 71.81 MB / 1.585 GB, free: 94.47 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/2.927, allocations: 198.9 kB / 1.585 GB, free: 94.25 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/6.787, allocations: 0 / 1.585 GB, free: 94.25 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)