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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001078/0.001079, allocations: 180.9 kB / 361.4 MB, free: 6.82 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.847/1.847, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001002/0.001002, allocations: 89.73 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.478e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7326, allocations: 115.3 MB / 0.9645 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2617/0.9944, allocations: 191 MB / 1.151 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.9948, allocations: 97.81 kB / 1.151 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1616/1.156, allocations: 63.45 MB / 1.213 GB, free: 12.66 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.949e-06/1.157, allocations: 0 / 1.213 GB, free: 12.66 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001939/1.157, allocations: 39.94 kB / 1.213 GB, free: 12.62 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.005931/1.163, allocations: 1.562 MB / 1.215 GB, free: 11.01 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.163, allocations: 8.031 kB / 1.215 GB, free: 11 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/1.166, allocations: 0.4907 MB / 1.215 GB, free: 10.51 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/1.169, allocations: 1.145 MB / 1.216 GB, free: 9.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.779e-05/1.169, allocations: 56 kB / 1.216 GB, free: 9.266 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007014/1.17, allocations: 88 kB / 1.216 GB, free: 9.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004256/1.174, allocations: 1.766 MB / 1.218 GB, free: 7.414 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005469/1.18, allocations: 2.214 MB / 1.22 GB, free: 5.137 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/1.18, allocations: 7.938 kB / 1.22 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/1.18, allocations: 3.938 kB / 1.22 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/1.18, allocations: 87.06 kB / 1.22 GB, free: 5.039 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/1.195, allocations: 10.11 MB / 1.23 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/1.196, allocations: 0.5374 MB / 1.231 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/1.197, allocations: 368.6 kB / 1.231 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/1.197, allocations: 89.09 kB / 1.231 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.197, allocations: 38.56 kB / 1.231 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 5.561e-06/1.197, allocations: 7.984 kB / 1.231 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.008765/1.206, allocations: 3.155 MB / 1.234 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/1.206, allocations: 81.55 kB / 1.234 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.207, allocations: 0.7218 MB / 1.235 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.208, allocations: 29.7 kB / 1.235 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007015/1.208, allocations: 0.7576 MB / 1.236 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/1.209, allocations: 181.4 kB / 1.236 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/1.209, allocations: 3.938 kB / 1.236 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002635/1.209, allocations: 386.8 kB / 1.236 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009316/1.21, allocations: 0.5804 MB / 1.237 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/1.211, allocations: 0.9339 MB / 1.238 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/1.213, allocations: 0.8333 MB / 1.239 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/1.213, allocations: 7.938 kB / 1.239 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006517/1.219, allocations: 2.582 MB / 1.241 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002062/1.221, allocations: 4.528 MB / 1.246 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/1.221, allocations: 12 kB / 1.246 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004487/1.226, allocations: 1.088 MB / 1.247 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009582/1.227, allocations: 227.6 kB / 1.247 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008181/1.235, allocations: 6.531 MB / 1.253 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.236, allocations: 147.6 kB / 1.253 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.237, allocations: 47.98 kB / 1.254 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/1.237, allocations: 4 kB / 1.254 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002378/1.239, allocations: 1.267 MB / 1.255 GB, free: 0 / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5775/1.816, allocations: 9.875 kB / 1.255 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/1.817, allocations: 19.75 kB / 1.255 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.818, allocations: 277.6 kB / 1.255 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.68e-05/1.818, allocations: 23.22 kB / 1.255 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.819, allocations: 102.7 kB / 1.255 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.819, allocations: 45.2 kB / 1.255 GB, free: 214.9 MB / 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.0003348/1.82, allocations: 135.8 kB / 1.255 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006476/1.826, allocations: 2.164 MB / 1.257 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/1.826, allocations: 74.56 kB / 1.258 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00621/1.833, allocations: 2.271 MB / 1.26 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.833, allocations: 5.406 kB / 1.26 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.833, allocations: 2.344 kB / 1.26 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.833, allocations: 3.375 kB / 1.26 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008224/1.841, allocations: 3.88 MB / 1.264 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.841, allocations: 2.625 kB / 1.264 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/1.841, allocations: 100.7 kB / 1.264 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004596/1.846, allocations: 1.351 MB / 1.265 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.519e-05/1.846, allocations: 5.062 kB / 1.265 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/1.857, allocations: 9.108 MB / 1.274 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/1.857, allocations: 2.719 kB / 1.274 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006151/1.863, allocations: 2.331 MB / 1.276 GB, free: 209 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006875/1.863, allocations: 273.2 kB / 1.276 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.864, allocations: 7.094 kB / 1.276 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.865, allocations: 157.6 kB / 1.277 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/1.865, allocations: 52.64 kB / 1.277 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/1.865, allocations: 14.81 kB / 1.277 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008791/1.866, allocations: 0.5562 MB / 1.277 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/1.866, allocations: 1.156 kB / 1.277 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002545/1.868, allocations: 0.5419 MB / 1.278 GB, free: 208.7 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.00695/1.875, allocations: 3.544 MB / 1.281 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004368/1.88, allocations: 2.353 MB / 1.283 GB, free: 207 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.88, allocations: 4.344 kB / 1.283 GB, free: 207 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/1.882, allocations: 1.178 MB / 1.285 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.883, allocations: 184.7 kB / 1.285 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/1.889, allocations: 2.834 MB / 1.288 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/1.891, allocations: 1.639 MB / 1.289 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001941/1.893, allocations: 0.5827 MB / 1.29 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/1.893, allocations: 474.7 kB / 1.29 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/1.893, allocations: 4.734 kB / 1.29 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05517/1.949, allocations: 29.77 MB / 1.319 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.949, allocations: 182.7 kB / 1.319 GB, free: 204 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/4.435, allocations: 0 / 1.319 GB, free: 204 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)