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.224/2.224, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.002412/0.002412, allocations: 174.1 kB / 315.4 MB, free: 4.02 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.061/2.061, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 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.00114/0.00114, allocations: 92.97 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.022e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2372, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9334/1.171, allocations: 162 MB / 1.042 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.171, allocations: 93.92 kB / 1.042 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07981/1.251, allocations: 19.17 MB / 1.061 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/1.251, allocations: 4 kB / 1.061 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.276e-05/1.251, allocations: 8 kB / 1.061 GB, free: 10.98 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.001285/1.252, allocations: 0.5367 MB / 1.062 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.252, allocations: 15.97 kB / 1.062 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/1.254, allocations: 111.5 kB / 1.062 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007347/1.255, allocations: 285.3 kB / 1.062 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/1.255, allocations: 8 kB / 1.062 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.248e-05/1.255, allocations: 19.94 kB / 1.062 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006764/1.255, allocations: 256.8 kB / 1.062 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008448/1.256, allocations: 390.8 kB / 1.063 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.256, allocations: 4 kB / 1.063 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/1.256, allocations: 0 / 1.063 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.667e-05/1.256, allocations: 27.8 kB / 1.063 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/1.26, allocations: 2.153 MB / 1.065 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/1.261, allocations: 250.6 kB / 1.065 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/1.261, allocations: 153.8 kB / 1.065 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/1.261, allocations: 8.172 kB / 1.065 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.261, allocations: 34.75 kB / 1.065 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.547e-06/1.261, allocations: 0 / 1.065 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.00183/1.263, allocations: 0.7755 MB / 1.066 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.263, allocations: 51.41 kB / 1.066 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/1.263, allocations: 202.3 kB / 1.066 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/1.263, allocations: 25.7 kB / 1.066 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/1.264, allocations: 189.7 kB / 1.066 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/1.264, allocations: 81.09 kB / 1.067 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/1.264, allocations: 0 / 1.067 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.264, allocations: 333.4 kB / 1.067 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/1.264, allocations: 142.8 kB / 1.067 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/1.265, allocations: 219.3 kB / 1.067 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/1.265, allocations: 185.6 kB / 1.067 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.265, allocations: 0 / 1.067 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001663/1.267, allocations: 0.5345 MB / 1.068 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.267, allocations: 7.938 kB / 1.068 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.267, allocations: 4 kB / 1.068 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/1.268, allocations: 177.1 kB / 1.068 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/1.268, allocations: 63.73 kB / 1.068 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/1.272, allocations: 2.187 MB / 1.07 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/1.273, allocations: 11.98 kB / 1.07 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/1.273, allocations: 15.05 kB / 1.07 GB, free: 2.488 MB / 0.6823 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.0001457/1.273, allocations: 112.9 kB / 1.07 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006822/1.274, allocations: 292.8 kB / 1.071 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/1.274, allocations: 23.72 kB / 1.071 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007819/1.275, allocations: 335.5 kB / 1.071 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.275, allocations: 8.062 kB / 1.071 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.275, allocations: 0 / 1.071 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.275, allocations: 3.984 kB / 1.071 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/1.276, allocations: 0.7361 MB / 1.072 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.276, allocations: 7.938 kB / 1.072 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/1.277, allocations: 79.08 kB / 1.072 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.277, allocations: 0 / 1.072 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.277, allocations: 12.06 kB / 1.072 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.277, allocations: 4 kB / 1.072 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.277, allocations: 0 / 1.072 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.278, allocations: 0.5976 MB / 1.072 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/1.278, allocations: 126.7 kB / 1.073 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/1.279, allocations: 7.984 kB / 1.073 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/1.279, allocations: 4 kB / 1.073 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/1.279, allocations: 19.91 kB / 1.073 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/1.279, allocations: 7.5 kB / 1.073 GB, free: 500 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002082/1.279, allocations: 156.6 kB / 1.073 GB, free: 368 kB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/1.279, allocations: 0 / 1.073 GB, free: 368 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006386/1.28, allocations: 87.12 kB / 1.073 GB, free: 284 kB / 0.6823 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.001579/1.281, allocations: 1.308 MB / 1.074 GB, free: 15.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0013/1.283, allocations: 0.4936 MB / 1.075 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.283, allocations: 0 / 1.075 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/1.283, allocations: 144.8 kB / 1.075 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/1.284, allocations: 45.17 kB / 1.075 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/1.286, allocations: 0.774 MB / 1.076 GB, free: 13.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/1.287, allocations: 0.8036 MB / 1.076 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003814/1.287, allocations: 70.02 kB / 1.076 GB, free: 12.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/1.287, allocations: 84.59 kB / 1.076 GB, free: 12.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/1.287, allocations: 0 / 1.076 GB, free: 12.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04603/1.333, allocations: 5.63 MB / 1.082 GB, free: 7.277 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/1.334, allocations: 151.8 kB / 1.082 GB, free: 7.086 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.911, allocations: 0 / 1.082 GB, free: 7.086 MB / 0.698 GB