Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_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.349/2.349, allocations: 251 MB / 265.9 MB, free: 11.67 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.001533/0.001533, allocations: 179.4 kB / 325.5 MB, free: 2.875 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.397/2.397, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001186/0.001186, allocations: 101.1 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005037, allocations: 12.84 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2283, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2604/0.4888, allocations: 153.5 MB / 1.049 GB, free: 7.711 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004319/0.4893, allocations: 99.94 kB / 1.049 GB, free: 7.613 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6939/1.183, allocations: 17.1 MB / 1.066 GB, free: 151.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.995e-06/1.183, allocations: 0 / 1.066 GB, free: 151.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.478e-05/1.183, allocations: 5.844 kB / 1.066 GB, free: 151.5 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001858/1.185, allocations: 0.6368 MB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/1.185, allocations: 9.031 kB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/1.185, allocations: 60.31 kB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/1.187, allocations: 108.8 kB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/1.188, allocations: 279.3 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/1.188, allocations: 14.53 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.31e-05/1.188, allocations: 22.14 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.189, allocations: 418.4 kB / 1.067 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/1.189, allocations: 3.75 kB / 1.067 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/1.189, allocations: 11.11 kB / 1.067 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.285e-05/1.189, allocations: 28.5 kB / 1.067 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/1.191, allocations: 413.8 kB / 1.067 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/1.194, allocations: 1.648 MB / 1.069 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/1.197, allocations: 493.4 kB / 1.07 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/1.197, allocations: 94.17 kB / 1.07 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009598/1.198, allocations: 279.1 kB / 1.07 GB, free: 149.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 4.088e-06/1.198, allocations: 4 kB / 1.07 GB, free: 149.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.003321/1.201, allocations: 0.7733 MB / 1.071 GB, free: 149.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.201, allocations: 84.02 kB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/1.202, allocations: 200.4 kB / 1.071 GB, free: 148.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/1.202, allocations: 31.42 kB / 1.071 GB, free: 148.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/1.202, allocations: 166.5 kB / 1.071 GB, free: 148.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/1.202, allocations: 94.97 kB / 1.071 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/1.202, allocations: 9.562 kB / 1.071 GB, free: 148.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/1.202, allocations: 340.4 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/1.203, allocations: 175 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007857/1.204, allocations: 266.5 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/1.205, allocations: 231.3 kB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.205, allocations: 0.9375 kB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002054/1.207, allocations: 0.559 MB / 1.073 GB, free: 148.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002393/1.207, allocations: 0.9014 MB / 1.074 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.207, allocations: 2.062 kB / 1.074 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/1.207, allocations: 39.41 kB / 1.074 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/1.208, allocations: 95.23 kB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/1.21, allocations: 1.514 MB / 1.075 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/1.211, allocations: 52.56 kB / 1.075 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/1.211, allocations: 18.69 kB / 1.075 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.211, allocations: 3.5 kB / 1.075 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001834/1.213, allocations: 0.5013 MB / 1.076 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.213, allocations: 2.344 kB / 1.076 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/1.213, allocations: 42.17 kB / 1.076 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/1.214, allocations: 90.5 kB / 1.076 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/1.215, allocations: 1.499 MB / 1.077 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/1.216, allocations: 47.48 kB / 1.077 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/1.216, allocations: 17.64 kB / 1.077 GB, free: 144.4 MB / 0.698 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 () * Number of clocked 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.0003378/1.216, allocations: 238.9 kB / 1.078 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/1.216, allocations: 23.62 kB / 1.078 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/1.218, allocations: 495.1 kB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.218, allocations: 3.094 kB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.218, allocations: 9.172 kB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/1.218, allocations: 4 kB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/1.219, allocations: 0.5596 MB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.219, allocations: 1.406 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/1.22, allocations: 86.38 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/1.22, allocations: 37.53 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/1.22, allocations: 7.156 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/1.221, allocations: 1.438 MB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.221, allocations: 5.094 kB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/1.223, allocations: 0.5988 MB / 1.081 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/1.223, allocations: 129.6 kB / 1.081 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/1.224, allocations: 10.75 kB / 1.081 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/1.224, allocations: 43.53 kB / 1.081 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.224, allocations: 32.12 kB / 1.081 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/1.224, allocations: 6.25 kB / 1.081 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002397/1.225, allocations: 173.8 kB / 1.081 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.225, allocations: 3.938 kB / 1.081 GB, free: 142.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009327/1.226, allocations: 149.7 kB / 1.081 GB, free: 142.1 MB / 0.698 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) * Number of clocked states: 0 () * 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.002135/1.228, allocations: 1.362 MB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003316/1.231, allocations: 1.007 MB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.231, allocations: 0.9375 kB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.232, allocations: 345.2 kB / 1.084 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/1.233, allocations: 45.06 kB / 1.084 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/1.239, allocations: 3.339 MB / 1.087 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/1.239, allocations: 0.7926 MB / 1.088 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005946/1.24, allocations: 101.7 kB / 1.088 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/1.24, allocations: 83.58 kB / 1.088 GB, free: 137.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.24, allocations: 0 / 1.088 GB, free: 137.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/1.282, allocations: 6.572 MB / 1.095 GB, free: 135.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/1.283, allocations: 222.8 kB / 1.095 GB, free: 135.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.995, allocations: 3.938 kB / 1.095 GB, free: 135.3 MB / 0.698 GB