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.153/2.153, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 182.3 kB / 325.5 MB, free: 2.895 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.416/2.416, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001098/0.001098, allocations: 94.55 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006442, allocations: 16.09 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8977/1.098, allocations: 161.8 MB / 1.057 GB, free: 63.96 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007027/1.099, allocations: 100.8 kB / 1.057 GB, free: 63.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08241/1.181, allocations: 19.36 MB / 1.076 GB, free: 62.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.181, allocations: 0 / 1.076 GB, free: 62.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.781e-05/1.181, allocations: 6.125 kB / 1.076 GB, free: 62.2 MB / 0.698 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.001435/1.183, allocations: 0.5744 MB / 1.076 GB, free: 61.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.183, allocations: 10.03 kB / 1.076 GB, free: 61.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/1.183, allocations: 62.08 kB / 1.076 GB, free: 61.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/1.184, allocations: 106.1 kB / 1.077 GB, free: 61.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/1.185, allocations: 289.9 kB / 1.077 GB, free: 61.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/1.185, allocations: 25.48 kB / 1.077 GB, free: 61.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/1.185, allocations: 26.73 kB / 1.077 GB, free: 61.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/1.186, allocations: 428.7 kB / 1.077 GB, free: 61.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.186, allocations: 6.156 kB / 1.077 GB, free: 61.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/1.186, allocations: 9.031 kB / 1.077 GB, free: 61.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.219e-05/1.186, allocations: 27.34 kB / 1.077 GB, free: 61.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/1.187, allocations: 353.9 kB / 1.078 GB, free: 61.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/1.191, allocations: 2.197 MB / 1.08 GB, free: 59.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/1.192, allocations: 273.3 kB / 1.08 GB, free: 59.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/1.192, allocations: 3.688 kB / 1.08 GB, free: 59.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.192, allocations: 37.25 kB / 1.08 GB, free: 59.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.065e-06/1.192, allocations: 3.938 kB / 1.08 GB, free: 59.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002791/1.195, allocations: 1.051 MB / 1.081 GB, free: 59.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/1.195, allocations: 57.3 kB / 1.081 GB, free: 59.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/1.195, allocations: 225.4 kB / 1.081 GB, free: 59.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/1.195, allocations: 34.19 kB / 1.081 GB, free: 59.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.195, allocations: 182.7 kB / 1.082 GB, free: 58.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/1.196, allocations: 84.08 kB / 1.082 GB, free: 58.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/1.196, allocations: 9.062 kB / 1.082 GB, free: 58.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/1.196, allocations: 335.7 kB / 1.082 GB, free: 58.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/1.196, allocations: 149 kB / 1.082 GB, free: 58.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/1.196, allocations: 229.8 kB / 1.082 GB, free: 58.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/1.197, allocations: 181.6 kB / 1.083 GB, free: 58.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.197, allocations: 1.156 kB / 1.083 GB, free: 58.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00179/1.199, allocations: 0.5793 MB / 1.083 GB, free: 58.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.199, allocations: 5.969 kB / 1.083 GB, free: 58.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.199, allocations: 6.484 kB / 1.083 GB, free: 58.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/1.2, allocations: 185 kB / 1.083 GB, free: 58.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/1.201, allocations: 60.03 kB / 1.083 GB, free: 58.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/1.204, allocations: 2.354 MB / 1.086 GB, free: 57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/1.205, allocations: 18.28 kB / 1.086 GB, free: 57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/1.205, allocations: 15.28 kB / 1.086 GB, free: 57 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 () * Number of clocked 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.0002643/1.205, allocations: 157.9 kB / 1.086 GB, free: 56.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/1.205, allocations: 23.44 kB / 1.086 GB, free: 56.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008157/1.206, allocations: 359.3 kB / 1.086 GB, free: 56.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.206, allocations: 7 kB / 1.086 GB, free: 56.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.206, allocations: 0 / 1.086 GB, free: 56.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.206, allocations: 4.266 kB / 1.086 GB, free: 56.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/1.208, allocations: 0.8091 MB / 1.087 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.208, allocations: 0 / 1.087 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/1.209, allocations: 74.81 kB / 1.087 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/1.209, allocations: 3.906 kB / 1.087 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/1.209, allocations: 14.86 kB / 1.087 GB, free: 56.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.209, allocations: 0 / 1.087 GB, free: 56.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.209, allocations: 4 kB / 1.087 GB, free: 56.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.21, allocations: 0.6274 MB / 1.088 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/1.21, allocations: 133.3 kB / 1.088 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/1.21, allocations: 9.625 kB / 1.088 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/1.211, allocations: 5.688 kB / 1.088 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/1.211, allocations: 21.59 kB / 1.088 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/1.211, allocations: 3.906 kB / 1.088 GB, free: 56.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002387/1.211, allocations: 181.2 kB / 1.088 GB, free: 56.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.211, allocations: 0 / 1.088 GB, free: 56.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006688/1.212, allocations: 100.5 kB / 1.088 GB, free: 56.09 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 () * Number of clocked 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.001382/1.213, allocations: 1.331 MB / 1.089 GB, free: 55.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001338/1.214, allocations: 0.524 MB / 1.09 GB, free: 55.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.214, allocations: 0 / 1.09 GB, free: 55.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/1.215, allocations: 152.5 kB / 1.09 GB, free: 55.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/1.216, allocations: 51.95 kB / 1.09 GB, free: 55.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.226, allocations: 3.772 MB / 1.094 GB, free: 52.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.228, allocations: 0.8022 MB / 1.095 GB, free: 51.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001066/1.229, allocations: 76.5 kB / 1.095 GB, free: 51.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/1.229, allocations: 82.69 kB / 1.095 GB, free: 51.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.229, allocations: 0 / 1.095 GB, free: 51.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/1.268, allocations: 6.259 MB / 1.101 GB, free: 51.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.269, allocations: 213.7 kB / 1.101 GB, free: 51.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.942, allocations: 0 / 1.101 GB, free: 51.21 MB / 0.698 GB