Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.5 MB / 257 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009664/0.0009665, allocations: 172.8 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000907/0.0009069, allocations: 86.47 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.453e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2298, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7496/0.9794, allocations: 147.7 MB / 1.03 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.9798, allocations: 103.2 kB / 1.03 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06662/1.046, allocations: 27.43 MB / 1.056 GB, free: 184 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.214e-06/1.046, allocations: 0 / 1.056 GB, free: 184 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.148e-05/1.047, allocations: 16 kB / 1.056 GB, free: 168 kB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001409/1.048, allocations: 0.6771 MB / 1.057 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.048, allocations: 12.03 kB / 1.057 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/1.05, allocations: 182.6 kB / 1.057 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/1.05, allocations: 399.5 kB / 1.058 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.05, allocations: 8 kB / 1.058 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/1.05, allocations: 20 kB / 1.058 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006065/1.051, allocations: 351.7 kB / 1.058 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008697/1.052, allocations: 0.6352 MB / 1.059 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.052, allocations: 11.88 kB / 1.059 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/1.052, allocations: 4 kB / 1.059 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.371e-05/1.052, allocations: 50.36 kB / 1.059 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/1.055, allocations: 3.707 MB / 1.062 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/1.057, allocations: 0.6654 MB / 1.063 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/1.058, allocations: 165.2 kB / 1.063 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.058, allocations: 4 kB / 1.063 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.058, allocations: 38.25 kB / 1.063 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/1.058, allocations: 7.938 kB / 1.063 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001501/1.059, allocations: 0.7802 MB / 1.064 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/1.059, allocations: 110.8 kB / 1.064 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/1.06, allocations: 298.5 kB / 1.064 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.06, allocations: 29.7 kB / 1.064 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/1.06, allocations: 281.3 kB / 1.065 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.489e-05/1.06, allocations: 117 kB / 1.065 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/1.06, allocations: 0.8438 kB / 1.065 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.06, allocations: 355.2 kB / 1.065 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/1.06, allocations: 149.6 kB / 1.065 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/1.061, allocations: 336.8 kB / 1.066 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/1.061, allocations: 220.3 kB / 1.066 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.061, allocations: 0 / 1.066 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000899/1.062, allocations: 0.5832 MB / 1.066 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.062, allocations: 4 kB / 1.066 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.062, allocations: 8 kB / 1.066 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/1.062, allocations: 102 kB / 1.066 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/1.063, allocations: 107.1 kB / 1.067 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/1.066, allocations: 3.868 MB / 1.07 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/1.066, allocations: 16.2 kB / 1.07 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/1.066, allocations: 34.03 kB / 1.07 GB, free: 2.367 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.066, allocations: 116.8 kB / 1.07 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007446/1.067, allocations: 448.8 kB / 1.071 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.067, allocations: 43.52 kB / 1.071 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/1.068, allocations: 490.5 kB / 1.071 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.068, allocations: 4 kB / 1.071 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.068, allocations: 4 kB / 1.071 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.068, allocations: 0 / 1.071 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/1.07, allocations: 1.185 MB / 1.073 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.07, allocations: 4 kB / 1.073 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/1.07, allocations: 68.11 kB / 1.073 GB, free: 316 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/1.07, allocations: 98.97 kB / 1.073 GB, free: 224 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/1.07, allocations: 4 kB / 1.073 GB, free: 220 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/1.074, allocations: 3.865 MB / 1.077 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.074, allocations: 7.938 kB / 1.077 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/1.075, allocations: 0.8728 MB / 1.077 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/1.075, allocations: 146.8 kB / 1.078 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/1.075, allocations: 15.94 kB / 1.078 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/1.076, allocations: 15.97 kB / 1.078 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/1.076, allocations: 35.42 kB / 1.078 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/1.076, allocations: 11.69 kB / 1.078 GB, free: 11.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002922/1.076, allocations: 238.3 kB / 1.078 GB, free: 10.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.076, allocations: 0 / 1.078 GB, free: 10.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007623/1.077, allocations: 116 kB / 1.078 GB, free: 10.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/1.078, allocations: 2.179 MB / 1.08 GB, free: 8.586 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001176/1.08, allocations: 0.734 MB / 1.081 GB, free: 7.941 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.08, allocations: 4.062 kB / 1.081 GB, free: 7.938 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006491/1.08, allocations: 0.504 MB / 1.081 GB, free: 7.453 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/1.081, allocations: 102.3 kB / 1.081 GB, free: 7.375 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/1.083, allocations: 0.7468 MB / 1.082 GB, free: 6.633 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/1.083, allocations: 0.8806 MB / 1.083 GB, free: 5.734 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003282/1.084, allocations: 96.3 kB / 1.083 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/1.084, allocations: 147.5 kB / 1.083 GB, free: 5.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.084, allocations: 4 kB / 1.083 GB, free: 5.586 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/1.117, allocations: 8.412 MB / 1.091 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.117, allocations: 169.6 kB / 1.092 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3.209, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)