Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.512/2.512, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.00149/0.00149, allocations: 170.6 kB / 315.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 106.3 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.289e-05, allocations: 3.938 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.197, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9225/1.12, allocations: 152.6 MB / 1.033 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/1.12, allocations: 92.25 kB / 1.033 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0676/1.187, allocations: 16.17 MB / 1.049 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.004e-06/1.188, allocations: 0 / 1.049 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.543e-05/1.188, allocations: 4 kB / 1.049 GB, free: 6.359 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.00112/1.189, allocations: 0.5243 MB / 1.049 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.189, allocations: 12.03 kB / 1.049 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/1.19, allocations: 91.61 kB / 1.05 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/1.191, allocations: 258.2 kB / 1.05 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.191, allocations: 8 kB / 1.05 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/1.191, allocations: 12 kB / 1.05 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006073/1.191, allocations: 224.1 kB / 1.05 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/1.192, allocations: 329.2 kB / 1.05 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.192, allocations: 0 / 1.05 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/1.192, allocations: 4 kB / 1.05 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.952e-05/1.192, allocations: 20.31 kB / 1.05 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/1.195, allocations: 1.669 MB / 1.052 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/1.196, allocations: 315.6 kB / 1.052 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/1.196, allocations: 138.8 kB / 1.052 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.197, allocations: 85.11 kB / 1.053 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.197, allocations: 37.64 kB / 1.053 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=20): time 3.236e-06/1.197, allocations: 4 kB / 1.053 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.001349/1.198, allocations: 360.2 kB / 1.053 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/1.198, allocations: 88.62 kB / 1.053 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/1.198, allocations: 174.7 kB / 1.053 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/1.198, allocations: 25.7 kB / 1.053 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/1.198, allocations: 160.8 kB / 1.053 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/1.199, allocations: 70.03 kB / 1.053 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/1.199, allocations: 0 / 1.053 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.199, allocations: 329.4 kB / 1.054 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/1.199, allocations: 113.8 kB / 1.054 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/1.199, allocations: 190.9 kB / 1.054 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/1.2, allocations: 148.9 kB / 1.054 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.2, allocations: 3.938 kB / 1.054 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001134/1.201, allocations: 386.7 kB / 1.055 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005033/1.202, allocations: 1.041 MB / 1.056 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.202, allocations: 4 kB / 1.056 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/1.202, allocations: 41.83 kB / 1.056 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/1.203, allocations: 78.36 kB / 1.056 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/1.205, allocations: 1.441 MB / 1.057 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/1.205, allocations: 19.97 kB / 1.057 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/1.205, allocations: 15.95 kB / 1.057 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.205, allocations: 4 kB / 1.057 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009605/1.206, allocations: 308.6 kB / 1.057 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/1.206, allocations: 4 kB / 1.057 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/1.206, allocations: 36.39 kB / 1.057 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/1.207, allocations: 75.31 kB / 1.058 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/1.209, allocations: 1.422 MB / 1.059 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/1.209, allocations: 31.31 kB / 1.059 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/1.209, allocations: 8 kB / 1.059 GB, free: 12.54 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.0001933/1.209, allocations: 120.9 kB / 1.059 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009393/1.21, allocations: 299.2 kB / 1.059 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/1.21, allocations: 19.81 kB / 1.059 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009487/1.211, allocations: 330.5 kB / 1.06 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.211, allocations: 11.95 kB / 1.06 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/1.211, allocations: 0 / 1.06 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.211, allocations: 3.984 kB / 1.06 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/1.214, allocations: 0.8817 MB / 1.061 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.214, allocations: 4 kB / 1.061 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/1.214, allocations: 47.95 kB / 1.061 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/1.214, allocations: 37.7 kB / 1.061 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/1.214, allocations: 0 / 1.061 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/1.216, allocations: 1.354 MB / 1.062 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.216, allocations: 3.984 kB / 1.062 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.217, allocations: 0.5766 MB / 1.063 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/1.217, allocations: 130.4 kB / 1.063 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/1.218, allocations: 3.953 kB / 1.063 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/1.218, allocations: 19.97 kB / 1.063 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.986e-05/1.218, allocations: 27.61 kB / 1.063 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/1.218, allocations: 7.984 kB / 1.063 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000198/1.218, allocations: 142.8 kB / 1.063 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/1.218, allocations: 0 / 1.063 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009669/1.219, allocations: 107.9 kB / 1.063 GB, free: 8.617 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.0018/1.221, allocations: 1.609 MB / 1.065 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001517/1.223, allocations: 0.6506 MB / 1.065 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.223, allocations: 0 / 1.065 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005201/1.223, allocations: 239 kB / 1.065 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/1.224, allocations: 26.56 kB / 1.065 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/1.226, allocations: 478.5 kB / 1.066 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/1.226, allocations: 0.7784 MB / 1.067 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000524/1.227, allocations: 97.97 kB / 1.067 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/1.227, allocations: 66.03 kB / 1.067 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/1.227, allocations: 0 / 1.067 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04743/1.274, allocations: 4.818 MB / 1.071 GB, free: 68 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/1.275, allocations: 163.3 kB / 1.072 GB, free: 15.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.637, allocations: 0 / 1.072 GB, free: 15.86 MB / 0.698 GB