Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 177.1 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.2 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 103.8 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003813, allocations: 9.781 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.4557, allocations: 178.6 MB / 1.397 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.4561, allocations: 99.94 kB / 1.397 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6187/1.075, allocations: 31.34 MB / 1.428 GB, free: 185.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.056e-06/1.075, allocations: 0 / 1.428 GB, free: 185.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.033e-05/1.075, allocations: 13.52 kB / 1.428 GB, free: 185.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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001984/1.077, allocations: 0.7878 MB / 1.429 GB, free: 185 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/1.077, allocations: 10.62 kB / 1.429 GB, free: 185 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/1.077, allocations: 88.08 kB / 1.429 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/1.078, allocations: 177.4 kB / 1.429 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/1.079, allocations: 381.4 kB / 1.429 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/1.079, allocations: 32.19 kB / 1.429 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/1.079, allocations: 47.17 kB / 1.429 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.08, allocations: 0.8214 MB / 1.43 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/1.081, allocations: 1.719 kB / 1.43 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/1.081, allocations: 22.48 kB / 1.43 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/1.081, allocations: 53.94 kB / 1.43 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/1.082, allocations: 0.6986 MB / 1.431 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/1.087, allocations: 4.499 MB / 1.435 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/1.089, allocations: 0.6216 MB / 1.436 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/1.089, allocations: 5.719 kB / 1.436 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.089, allocations: 40.55 kB / 1.436 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=38): time 6.012e-06/1.089, allocations: 0 / 1.436 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39): time 0.003046/1.092, allocations: 0.9925 MB / 1.437 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1.092, allocations: 82.31 kB / 1.437 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/1.092, allocations: 310.6 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/1.092, allocations: 31.08 kB / 1.437 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/1.093, allocations: 287.9 kB / 1.438 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/1.093, allocations: 139.8 kB / 1.438 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/1.093, allocations: 12.47 kB / 1.438 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.093, allocations: 351 kB / 1.438 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/1.094, allocations: 281 kB / 1.438 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/1.095, allocations: 491.2 kB / 1.439 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009026/1.096, allocations: 343.7 kB / 1.439 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/1.096, allocations: 4.562 kB / 1.439 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001942/1.098, allocations: 0.8189 MB / 1.44 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004852/1.098, allocations: 2.616 MB / 1.443 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.098, allocations: 7.281 kB / 1.443 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/1.098, allocations: 16 kB / 1.443 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/1.099, allocations: 179.6 kB / 1.443 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/1.099, allocations: 13.59 kB / 1.443 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/1.1, allocations: 82.27 kB / 1.443 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/1.1, allocations: 30.7 kB / 1.443 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.1, allocations: 4.438 kB / 1.443 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/1.101, allocations: 0.6431 MB / 1.444 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.101, allocations: 7.531 kB / 1.444 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/1.101, allocations: 11.53 kB / 1.444 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/1.102, allocations: 161.7 kB / 1.444 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.102, allocations: 14.92 kB / 1.444 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/1.102, allocations: 73.89 kB / 1.444 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/1.102, allocations: 26 kB / 1.444 GB, free: 176.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003276/1.103, allocations: 281.9 kB / 1.444 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/1.103, allocations: 45.11 kB / 1.444 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/1.104, allocations: 0.6808 MB / 1.445 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.104, allocations: 12.27 kB / 1.445 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.104, allocations: 1 kB / 1.445 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.104, allocations: 2.484 kB / 1.445 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/1.108, allocations: 1.483 MB / 1.446 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.108, allocations: 1.969 kB / 1.446 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.109, allocations: 157.4 kB / 1.446 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/1.109, allocations: 3.5 kB / 1.446 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/1.109, allocations: 7.906 kB / 1.446 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.109, allocations: 7.859 kB / 1.446 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.109, allocations: 3.75 kB / 1.446 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/1.111, allocations: 0.9159 MB / 1.447 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/1.111, allocations: 165.2 kB / 1.448 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.111, allocations: 14.16 kB / 1.448 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/1.112, allocations: 63.42 kB / 1.448 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.112, allocations: 32.3 kB / 1.448 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/1.112, allocations: 13.28 kB / 1.448 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004619/1.113, allocations: 249.7 kB / 1.448 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.51e-07/1.113, allocations: 4 kB / 1.448 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001578/1.114, allocations: 213.3 kB / 1.448 GB, free: 175.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002257/1.117, allocations: 1.96 MB / 1.45 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002908/1.119, allocations: 1.003 MB / 1.451 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.12, allocations: 0.5 kB / 1.451 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009329/1.12, allocations: 313.2 kB / 1.451 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.122, allocations: 106.8 kB / 1.451 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008514/1.13, allocations: 7.488 MB / 1.459 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/1.131, allocations: 0.8912 MB / 1.46 GB, free: 167.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008069/1.131, allocations: 208.9 kB / 1.46 GB, free: 167.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/1.132, allocations: 152.2 kB / 1.46 GB, free: 167.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/1.132, allocations: 2.062 kB / 1.46 GB, free: 167.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/1.16, allocations: 9.914 MB / 1.47 GB, free: 167 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/1.161, allocations: 198.6 kB / 1.47 GB, free: 166.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.485, allocations: 0 / 1.47 GB, free: 166.8 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat