Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.336/2.336, allocations: 248.5 MB / 261.1 MB, free: 5.984 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.001537/0.001537, allocations: 182.9 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.2 MB / 0.571 GB, free: 11.85 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.001145/0.001145, allocations: 102.3 kB / 0.6754 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.31e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 106.2 MB / 0.8907 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.214, allocations: 161.7 MB / 1.049 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/1.214, allocations: 99.98 kB / 1.049 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.08281/1.297, allocations: 19.25 MB / 1.068 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/1.297, allocations: 0 / 1.068 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.8e-05/1.297, allocations: 8 kB / 1.068 GB, free: 7.199 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001414/1.299, allocations: 0.542 MB / 1.068 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.299, allocations: 8.031 kB / 1.068 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/1.299, allocations: 69.14 kB / 1.068 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/1.3, allocations: 111.5 kB / 1.068 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/1.301, allocations: 284.8 kB / 1.069 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/1.301, allocations: 24.23 kB / 1.069 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/1.301, allocations: 22.62 kB / 1.069 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/1.302, allocations: 426.9 kB / 1.069 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/1.303, allocations: 0 / 1.069 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/1.303, allocations: 14.92 kB / 1.069 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.751e-05/1.303, allocations: 28.48 kB / 1.069 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009299/1.304, allocations: 338.2 kB / 1.069 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/1.308, allocations: 2.208 MB / 1.071 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/1.309, allocations: 258.9 kB / 1.072 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/1.309, allocations: 159.5 kB / 1.072 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/1.309, allocations: 4.188 kB / 1.072 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/1.309, allocations: 34.69 kB / 1.072 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 2.785e-06/1.309, allocations: 0 / 1.072 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002272/1.311, allocations: 0.8092 MB / 1.073 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.312, allocations: 63.3 kB / 1.073 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/1.312, allocations: 226.3 kB / 1.073 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/1.312, allocations: 29.08 kB / 1.073 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/1.312, allocations: 188.2 kB / 1.073 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.312, allocations: 84.88 kB / 1.073 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/1.312, allocations: 7 kB / 1.073 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.312, allocations: 337.2 kB / 1.074 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/1.313, allocations: 150.3 kB / 1.074 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/1.313, allocations: 225 kB / 1.074 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/1.314, allocations: 177.9 kB / 1.074 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.314, allocations: 0 / 1.074 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00185/1.316, allocations: 0.5718 MB / 1.075 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/1.316, allocations: 7.953 kB / 1.075 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.316, allocations: 8 kB / 1.075 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/1.317, allocations: 181.6 kB / 1.075 GB, free: 452 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/1.318, allocations: 62.89 kB / 1.075 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/1.322, allocations: 2.283 MB / 1.077 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/1.322, allocations: 15.11 kB / 1.077 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/1.322, allocations: 19.3 kB / 1.077 GB, free: 14.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.323, allocations: 119.5 kB / 1.077 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/1.323, allocations: 27.67 kB / 1.077 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009138/1.324, allocations: 358 kB / 1.078 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.324, allocations: 4 kB / 1.078 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.324, allocations: 0 / 1.078 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.324, allocations: 0 / 1.078 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/1.325, allocations: 0.8078 MB / 1.078 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.325, allocations: 0 / 1.078 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/1.326, allocations: 71.88 kB / 1.079 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/1.326, allocations: 8.062 kB / 1.079 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/1.326, allocations: 7.5 kB / 1.079 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.326, allocations: 0 / 1.079 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.326, allocations: 0 / 1.079 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/1.328, allocations: 0.6313 MB / 1.079 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/1.328, allocations: 130.6 kB / 1.079 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/1.328, allocations: 7.375 kB / 1.079 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/1.328, allocations: 11.17 kB / 1.079 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/1.328, allocations: 11.98 kB / 1.079 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.328, allocations: 6.312 kB / 1.079 GB, free: 12.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000277/1.329, allocations: 181 kB / 1.08 GB, free: 12.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.329, allocations: 0 / 1.08 GB, free: 12.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006234/1.329, allocations: 102.5 kB / 1.08 GB, free: 12.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.001778/1.331, allocations: 1.314 MB / 1.081 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001427/1.333, allocations: 0.5264 MB / 1.081 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.333, allocations: 0 / 1.081 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/1.333, allocations: 148.1 kB / 1.082 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/1.333, allocations: 53.55 kB / 1.082 GB, free: 10.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/1.336, allocations: 0.7872 MB / 1.082 GB, free: 9.684 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/1.337, allocations: 0.8045 MB / 1.083 GB, free: 8.863 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004293/1.337, allocations: 74.91 kB / 1.083 GB, free: 8.789 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/1.337, allocations: 82.2 kB / 1.083 GB, free: 8.758 MB / 0.698 GB Notification: Performance of SimCode: time 9.71e-07/1.337, allocations: 0 / 1.083 GB, free: 8.758 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/1.378, allocations: 6.242 MB / 1.089 GB, free: 2.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/1.378, allocations: 186.3 kB / 1.09 GB, free: 2.457 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/4.068, allocations: 7.125 kB / 1.09 GB, free: 2.453 MB / 0.698 GB