Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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.26/2.26, allocations: 248.5 MB / 261.1 MB, free: 6.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.001503/0.001502, allocations: 182.3 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.00112/0.001119, allocations: 94.48 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.145e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2035, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9039/1.107, allocations: 154.9 MB / 1.042 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/1.108, allocations: 102.3 kB / 1.042 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07745/1.185, allocations: 17.64 MB / 1.059 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/1.185, allocations: 0 / 1.059 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.294e-05/1.185, allocations: 15.94 kB / 1.059 GB, free: 15.01 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001687/1.187, allocations: 0.6142 MB / 1.06 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.187, allocations: 12.03 kB / 1.06 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/1.187, allocations: 55.61 kB / 1.06 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/1.189, allocations: 99.56 kB / 1.06 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/1.189, allocations: 278.8 kB / 1.06 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/1.189, allocations: 19.31 kB / 1.06 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/1.19, allocations: 18.94 kB / 1.06 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/1.19, allocations: 374.6 kB / 1.061 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/1.191, allocations: 0 / 1.061 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/1.191, allocations: 14.73 kB / 1.061 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.84e-05/1.191, allocations: 20.36 kB / 1.061 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/1.192, allocations: 318.3 kB / 1.061 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/1.195, allocations: 1.657 MB / 1.063 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/1.197, allocations: 390.8 kB / 1.063 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/1.198, allocations: 162.8 kB / 1.063 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/1.198, allocations: 93.09 kB / 1.063 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008178/1.199, allocations: 225.4 kB / 1.063 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 4.468e-06/1.199, allocations: 0 / 1.063 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.002156/1.201, allocations: 433.3 kB / 1.064 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/1.201, allocations: 85.05 kB / 1.064 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/1.202, allocations: 205.1 kB / 1.064 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.202, allocations: 28.83 kB / 1.064 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/1.202, allocations: 173 kB / 1.064 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/1.202, allocations: 88.25 kB / 1.064 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/1.203, allocations: 3.812 kB / 1.064 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002003/1.203, allocations: 340.9 kB / 1.065 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/1.203, allocations: 130.7 kB / 1.065 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/1.204, allocations: 204.9 kB / 1.065 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/1.205, allocations: 182.8 kB / 1.065 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/1.205, allocations: 0 / 1.065 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001961/1.207, allocations: 471.7 kB / 1.066 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006247/1.207, allocations: 0.9101 MB / 1.067 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.207, allocations: 0 / 1.067 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/1.208, allocations: 42.42 kB / 1.067 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.209, allocations: 90.92 kB / 1.067 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/1.212, allocations: 1.498 MB / 1.068 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009801/1.213, allocations: 51.17 kB / 1.068 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.213, allocations: 22.61 kB / 1.068 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.213, allocations: 4 kB / 1.068 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001854/1.215, allocations: 411 kB / 1.069 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.215, allocations: 4 kB / 1.069 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/1.216, allocations: 48.12 kB / 1.069 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.217, allocations: 79.88 kB / 1.069 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/1.219, allocations: 1.482 MB / 1.07 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009146/1.22, allocations: 58.52 kB / 1.07 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.1e-05/1.22, allocations: 12 kB / 1.07 GB, free: 4.371 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002984/1.221, allocations: 131.3 kB / 1.07 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/1.221, allocations: 23.72 kB / 1.07 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/1.223, allocations: 400 kB / 1.071 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/1.223, allocations: 4 kB / 1.071 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.223, allocations: 0 / 1.071 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.223, allocations: 3.984 kB / 1.071 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/1.224, allocations: 0.5661 MB / 1.071 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.224, allocations: 4.062 kB / 1.071 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.225, allocations: 83.95 kB / 1.071 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/1.226, allocations: 35.52 kB / 1.072 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/1.226, allocations: 7.562 kB / 1.072 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/1.228, allocations: 1.414 MB / 1.073 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.228, allocations: 0 / 1.073 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.23, allocations: 0.5017 MB / 1.073 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/1.23, allocations: 131.3 kB / 1.074 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/1.23, allocations: 3.188 kB / 1.074 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000829/1.231, allocations: 47.19 kB / 1.074 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/1.232, allocations: 42.34 kB / 1.074 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/1.232, allocations: 7 kB / 1.074 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003693/1.232, allocations: 171.9 kB / 1.074 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/1.232, allocations: 0 / 1.074 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001543/1.234, allocations: 142.6 kB / 1.074 GB, free: 0.8555 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002423/1.236, allocations: 1.29 MB / 1.075 GB, free: 15.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003175/1.239, allocations: 0.8578 MB / 1.076 GB, free: 14.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.239, allocations: 0 / 1.076 GB, free: 14.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/1.241, allocations: 291.8 kB / 1.076 GB, free: 14.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/1.241, allocations: 46.97 kB / 1.076 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/1.244, allocations: 0.548 MB / 1.077 GB, free: 14.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/1.245, allocations: 0.7907 MB / 1.078 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008746/1.246, allocations: 102 kB / 1.078 GB, free: 13.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/1.246, allocations: 84.53 kB / 1.078 GB, free: 13.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/1.246, allocations: 0 / 1.078 GB, free: 13.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/1.286, allocations: 6.884 MB / 1.085 GB, free: 6.488 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/1.286, allocations: 204.1 kB / 1.085 GB, free: 6.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.958, allocations: 0 / 1.085 GB, free: 6.27 MB / 0.698 GB