Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.42/1.42, allocations: 249.5 MB / 257 MB, free: 6.957 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.001001/0.001001, allocations: 187.6 kB / 316.3 MB, free: 3.227 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.548/1.548, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0007993/0.0007992, allocations: 89.45 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.078e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1975, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6739/0.8715, allocations: 152.8 MB / 1.034 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.8718, allocations: 87.75 kB / 1.035 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03901/0.9108, allocations: 16.16 MB / 1.05 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9109, allocations: 4 kB / 1.05 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.9109, allocations: 4 kB / 1.05 GB, free: 5.039 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007979/0.9117, allocations: 0.523 MB / 1.051 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.9118, allocations: 8.031 kB / 1.051 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007876/0.9125, allocations: 91.62 kB / 1.051 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.9129, allocations: 267 kB / 1.051 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.9129, allocations: 8 kB / 1.051 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.913, allocations: 12 kB / 1.051 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003632/0.9134, allocations: 219.2 kB / 1.051 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.9138, allocations: 327.7 kB / 1.052 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.9139, allocations: 4 kB / 1.052 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.9139, allocations: 0 / 1.052 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.9139, allocations: 20.31 kB / 1.052 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.9157, allocations: 1.675 MB / 1.053 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.9163, allocations: 310.8 kB / 1.054 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.9165, allocations: 132.6 kB / 1.054 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.9167, allocations: 85.09 kB / 1.054 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.9167, allocations: 38.06 kB / 1.054 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.9167, allocations: 0 / 1.054 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.0008351/0.9176, allocations: 370 kB / 1.054 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.9176, allocations: 81.11 kB / 1.054 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.9178, allocations: 179.5 kB / 1.055 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.9179, allocations: 29.64 kB / 1.055 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.918, allocations: 160.5 kB / 1.055 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.918, allocations: 70.19 kB / 1.055 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.918, allocations: 0 / 1.055 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9182, allocations: 326 kB / 1.055 GB, free: 440 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.9183, allocations: 109.6 kB / 1.055 GB, free: 368 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.9186, allocations: 196.8 kB / 1.055 GB, free: 176 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.9188, allocations: 145.4 kB / 1.056 GB, free: 80 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9188, allocations: 4 kB / 1.056 GB, free: 76 kB / 0.6667 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006454/0.9195, allocations: 386.5 kB / 1.056 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004209/0.9199, allocations: 1.043 MB / 1.057 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.9199, allocations: 0 / 1.057 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.9201, allocations: 55.34 kB / 1.057 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.9205, allocations: 71.39 kB / 1.057 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.9219, allocations: 1.436 MB / 1.058 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.9221, allocations: 23.89 kB / 1.058 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.9221, allocations: 15.92 kB / 1.059 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.9222, allocations: 4 kB / 1.059 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007683/0.9229, allocations: 309.9 kB / 1.059 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.923, allocations: 0 / 1.059 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.9231, allocations: 43.77 kB / 1.059 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.9234, allocations: 69.77 kB / 1.059 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.9246, allocations: 1.427 MB / 1.06 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.9248, allocations: 19.89 kB / 1.06 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.9248, allocations: 23.47 kB / 1.06 GB, free: 11.22 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.9249, allocations: 116.8 kB / 1.06 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005926/0.9255, allocations: 297.5 kB / 1.061 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.9256, allocations: 15.81 kB / 1.061 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005785/0.9262, allocations: 333.4 kB / 1.061 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.9262, allocations: 4 kB / 1.061 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9262, allocations: 3.953 kB / 1.061 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.9262, allocations: 0 / 1.061 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.9276, allocations: 0.8874 MB / 1.062 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.9276, allocations: 0 / 1.062 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.9278, allocations: 55.45 kB / 1.062 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.928, allocations: 32.14 kB / 1.062 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.928, allocations: 4 kB / 1.062 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.929, allocations: 1.349 MB / 1.063 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9291, allocations: 0 / 1.063 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.9297, allocations: 0.5849 MB / 1.064 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.9298, allocations: 124.1 kB / 1.064 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.9299, allocations: 7.984 kB / 1.064 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.9301, allocations: 27.88 kB / 1.064 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.9302, allocations: 23.34 kB / 1.064 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.9302, allocations: 8 kB / 1.064 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001551/0.9304, allocations: 141.2 kB / 1.064 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9304, allocations: 4 kB / 1.064 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006426/0.931, allocations: 107.9 kB / 1.064 GB, free: 7.301 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.9322, allocations: 1.618 MB / 1.066 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008909/0.9331, allocations: 0.6365 MB / 1.067 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9331, allocations: 3.938 kB / 1.067 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.9334, allocations: 244.7 kB / 1.067 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.9337, allocations: 27.34 kB / 1.067 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.9347, allocations: 481.8 kB / 1.067 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.9351, allocations: 0.778 MB / 1.068 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.9354, allocations: 89.98 kB / 1.068 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.9355, allocations: 70.97 kB / 1.068 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.9355, allocations: 0 / 1.068 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.9585, allocations: 4.815 MB / 1.073 GB, free: 14.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.9588, allocations: 161.5 kB / 1.073 GB, free: 14.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.687, allocations: 4.938 kB / 1.073 GB, free: 14.55 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)