Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.81/1.81, allocations: 288.2 MB / 303.2 MB, free: 8.285 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.001207/0.001207, allocations: 185 kB / 371.8 MB, free: 10.25 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.693/1.693, allocations: 205.4 MB / 0.6305 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 105.5 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 19.69 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9624/1.241, allocations: 196.4 MB / 1.171 GB, free: 2.555 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.242, allocations: 99.69 kB / 1.171 GB, free: 2.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2847/1.526, allocations: 113.7 MB / 1.282 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.278e-06/1.526, allocations: 0 / 1.282 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000365/1.527, allocations: 83.86 kB / 1.282 GB, free: 11.29 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01143/1.538, allocations: 2.886 MB / 1.285 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/1.538, allocations: 8.031 kB / 1.285 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0028/1.541, allocations: 458.4 kB / 1.286 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005719/1.547, allocations: 0.6751 MB / 1.286 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007323/1.554, allocations: 2.067 MB / 1.288 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/1.555, allocations: 226 kB / 1.289 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/1.556, allocations: 288 kB / 1.289 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/1.57, allocations: 4.614 MB / 1.293 GB, free: 15.69 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/1.57, allocations: 15.83 kB / 1.293 GB, free: 15.68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/1.571, allocations: 136 kB / 1.294 GB, free: 15.54 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/1.572, allocations: 165.8 kB / 1.294 GB, free: 15.38 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008922/1.58, allocations: 3.403 MB / 1.297 GB, free: 11.96 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/1.616, allocations: 21.61 MB / 1.318 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/1.618, allocations: 1.284 MB / 1.319 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.392e-05/1.619, allocations: 13 kB / 1.319 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.619, allocations: 43.56 kB / 1.319 GB, free: 3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 3.597e-06/1.619, allocations: 0 / 1.319 GB, free: 3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.02553/1.644, allocations: 8.581 MB / 1.328 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/1.644, allocations: 76.7 kB / 1.328 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.646, allocations: 0.9596 MB / 1.329 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/1.647, allocations: 45.7 kB / 1.329 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.648, allocations: 1.304 MB / 1.33 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/1.648, allocations: 489 kB / 1.331 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/1.648, allocations: 36 kB / 1.331 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.649, allocations: 365.9 kB / 1.331 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/1.65, allocations: 0.8784 MB / 1.332 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.652, allocations: 1.339 MB / 1.333 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/1.653, allocations: 1.111 MB / 1.334 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.653, allocations: 4 kB / 1.334 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006392/1.66, allocations: 3.398 MB / 1.338 GB, free: 108 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/1.66, allocations: 16.25 kB / 1.338 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/1.66, allocations: 12 kB / 1.338 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/1.663, allocations: 1.142 MB / 1.339 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.664, allocations: 271.5 kB / 1.339 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/1.681, allocations: 12.97 MB / 1.352 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/1.683, allocations: 95.97 kB / 1.352 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/1.683, allocations: 64 kB / 1.352 GB, free: 1.145 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002805/1.686, allocations: 1.122 MB / 1.353 GB, free: 12 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/1.686, allocations: 162.3 kB / 1.353 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007076/1.694, allocations: 3.118 MB / 1.356 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.694, allocations: 16 kB / 1.356 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.923e-05/1.694, allocations: 12 kB / 1.356 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.694, allocations: 11.92 kB / 1.356 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/1.71, allocations: 6.109 MB / 1.362 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/1.71, allocations: 12.06 kB / 1.362 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/1.711, allocations: 143.8 kB / 1.362 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/1.714, allocations: 1.033 MB / 1.363 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.714, allocations: 28 kB / 1.363 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01774/1.732, allocations: 12.66 MB / 1.376 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/1.732, allocations: 11.92 kB / 1.376 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006123/1.738, allocations: 3.336 MB / 1.379 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.739, allocations: 423.1 kB / 1.379 GB, free: 4.137 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/1.739, allocations: 24 kB / 1.379 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007571/1.74, allocations: 79.91 kB / 1.379 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004494/1.741, allocations: 124.7 kB / 1.38 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-05/1.741, allocations: 36 kB / 1.38 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001181/1.742, allocations: 0.7397 MB / 1.38 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.21e-07/1.742, allocations: 0 / 1.38 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002681/1.745, allocations: 0.6758 MB / 1.381 GB, free: 2.461 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006482/1.751, allocations: 5.126 MB / 1.386 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005452/1.757, allocations: 3.068 MB / 1.389 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.757, allocations: 5.25 kB / 1.389 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003216/1.76, allocations: 1.932 MB / 1.391 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.762, allocations: 438.5 kB / 1.391 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0359/1.798, allocations: 24.56 MB / 1.415 GB, free: 14.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003984/1.802, allocations: 2.39 MB / 1.418 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001953/1.804, allocations: 350 kB / 1.418 GB, free: 11.65 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/1.806, allocations: 0.9991 MB / 1.419 GB, free: 10.65 MB / 0.948 GB Notification: Performance of SimCode: time 2.966e-06/1.806, allocations: 0 / 1.419 GB, free: 10.65 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6371/2.443, allocations: 48.35 MB / 1.466 GB, free: 274.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/2.443, allocations: 238.5 kB / 1.466 GB, free: 274.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/5.679, allocations: 4 kB / 1.466 GB, free: 274.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)