Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.598/2.598, allocations: 284.9 MB / 292.4 MB, free: 10.49 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.001551/0.001551, allocations: 180.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001102/0.001101, allocations: 94.58 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.594e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.7947, allocations: 115.3 MB / 0.9634 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/1.216, allocations: 190.9 MB / 1.15 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004043/1.217, allocations: 95.39 kB / 1.15 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2657/1.483, allocations: 63.45 MB / 1.212 GB, free: 13.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.285e-06/1.483, allocations: 4 kB / 1.212 GB, free: 13.54 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001485/1.483, allocations: 35.98 kB / 1.212 GB, free: 13.5 MB / 0.823 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.00625/1.489, allocations: 1.559 MB / 1.213 GB, free: 11.89 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/1.489, allocations: 12.03 kB / 1.213 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/1.494, allocations: 497.5 kB / 1.214 GB, free: 11.39 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/1.498, allocations: 1.153 MB / 1.215 GB, free: 10.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.498, allocations: 48 kB / 1.215 GB, free: 10.15 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007068/1.499, allocations: 88 kB / 1.215 GB, free: 10.06 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005887/1.505, allocations: 1.771 MB / 1.217 GB, free: 8.289 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007766/1.513, allocations: 2.21 MB / 1.219 GB, free: 6.016 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/1.513, allocations: 3.938 kB / 1.219 GB, free: 6.012 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/1.513, allocations: 4 kB / 1.219 GB, free: 6.008 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/1.513, allocations: 91 kB / 1.219 GB, free: 5.918 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/1.534, allocations: 10.11 MB / 1.229 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/1.536, allocations: 0.543 MB / 1.23 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/1.537, allocations: 364.7 kB / 1.23 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.537, allocations: 96.05 kB / 1.23 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/1.537, allocations: 38.56 kB / 1.23 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 2.715e-06/1.537, allocations: 3.938 kB / 1.23 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.01465/1.552, allocations: 3.149 MB / 1.233 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/1.552, allocations: 85.55 kB / 1.233 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/1.554, allocations: 0.7218 MB / 1.234 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/1.554, allocations: 25.7 kB / 1.234 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007853/1.555, allocations: 0.7576 MB / 1.235 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/1.555, allocations: 181.4 kB / 1.235 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.555, allocations: 0 / 1.235 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002751/1.555, allocations: 390.7 kB / 1.235 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/1.557, allocations: 0.5726 MB / 1.236 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/1.559, allocations: 0.9456 MB / 1.237 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/1.561, allocations: 0.8295 MB / 1.238 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/1.561, allocations: 4 kB / 1.238 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01143/1.573, allocations: 2.582 MB / 1.24 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002193/1.575, allocations: 4.53 MB / 1.244 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.848e-05/1.575, allocations: 12 kB / 1.244 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008108/1.583, allocations: 1.092 MB / 1.246 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/1.585, allocations: 227.6 kB / 1.246 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/1.598, allocations: 6.53 MB / 1.252 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/1.6, allocations: 151.5 kB / 1.252 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/1.6, allocations: 43.98 kB / 1.252 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.6, allocations: 8.062 kB / 1.252 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003613/1.604, allocations: 1.263 MB / 1.254 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.604, allocations: 12 kB / 1.254 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.558e-05/1.604, allocations: 20 kB / 1.254 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/1.606, allocations: 283.5 kB / 1.254 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/1.606, allocations: 27.83 kB / 1.254 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.607, allocations: 108.8 kB / 1.254 GB, free: 468 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.608, allocations: 36 kB / 1.254 GB, free: 432 kB / 0.8542 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 () * 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.0004298/1.608, allocations: 140.4 kB / 1.254 GB, free: 284 kB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.6291/2.237, allocations: 2.152 MB / 1.256 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/2.238, allocations: 74.56 kB / 1.256 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/2.249, allocations: 2.268 MB / 1.259 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/2.249, allocations: 5.312 kB / 1.259 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/2.249, allocations: 1.969 kB / 1.259 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/2.249, allocations: 4.328 kB / 1.259 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/2.263, allocations: 3.881 MB / 1.262 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/2.263, allocations: 5.031 kB / 1.262 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/2.264, allocations: 104.8 kB / 1.262 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008341/2.273, allocations: 1.345 MB / 1.264 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/2.273, allocations: 6.281 kB / 1.264 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/2.288, allocations: 9.105 MB / 1.273 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/2.289, allocations: 4.422 kB / 1.273 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009945/2.298, allocations: 2.331 MB / 1.275 GB, free: 209 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009397/2.299, allocations: 276.7 kB / 1.275 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/2.3, allocations: 4.078 kB / 1.275 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/2.302, allocations: 155.9 kB / 1.275 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/2.302, allocations: 53.66 kB / 1.275 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/2.302, allocations: 15.31 kB / 1.275 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001246/2.304, allocations: 0.559 MB / 1.276 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.91e-07/2.304, allocations: 3.062 kB / 1.276 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003465/2.307, allocations: 0.5388 MB / 1.276 GB, free: 208.8 MB / 0.8542 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 () * 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.01136/2.319, allocations: 3.534 MB / 1.28 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006572/2.325, allocations: 2.351 MB / 1.282 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/2.325, allocations: 0 / 1.282 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/2.328, allocations: 1.18 MB / 1.283 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/2.33, allocations: 187.5 kB / 1.284 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/2.34, allocations: 2.832 MB / 1.286 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/2.342, allocations: 1.644 MB / 1.288 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003149/2.346, allocations: 0.5793 MB / 1.289 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/2.347, allocations: 478.5 kB / 1.289 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.342e-06/2.347, allocations: 3.094 kB / 1.289 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/2.471, allocations: 29.76 MB / 1.318 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/2.471, allocations: 170.1 kB / 1.318 GB, free: 204 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/5.744, allocations: 3.156 kB / 1.318 GB, free: 204 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)