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.2/2.2, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.001462/0.001462, allocations: 175 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, 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.001087/0.001087, allocations: 94.98 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.307e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.192, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8797/1.072, allocations: 153.7 MB / 1.034 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003661/1.072, allocations: 95.06 kB / 1.034 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08055/1.153, allocations: 16.94 MB / 1.051 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.943e-06/1.153, allocations: 4 kB / 1.051 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.907e-05/1.153, allocations: 4 kB / 1.051 GB, free: 4.457 MB / 0.6667 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.001741/1.155, allocations: 0.6033 MB / 1.051 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.155, allocations: 8.031 kB / 1.051 GB, free: 3.812 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/1.156, allocations: 103.2 kB / 1.052 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/1.157, allocations: 286 kB / 1.052 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/1.157, allocations: 8 kB / 1.052 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/1.157, allocations: 19.94 kB / 1.052 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000721/1.158, allocations: 242.5 kB / 1.052 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008252/1.158, allocations: 345.4 kB / 1.052 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.158, allocations: 0 / 1.052 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/1.158, allocations: 4 kB / 1.052 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.506e-05/1.159, allocations: 20.36 kB / 1.052 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/1.162, allocations: 1.607 MB / 1.054 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/1.163, allocations: 385.8 kB / 1.054 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/1.164, allocations: 151.7 kB / 1.055 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/1.164, allocations: 100.1 kB / 1.055 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/1.164, allocations: 219.7 kB / 1.055 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 2.926e-06/1.164, allocations: 0 / 1.055 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.001591/1.166, allocations: 417.5 kB / 1.055 GB, free: 368 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/1.166, allocations: 85.2 kB / 1.055 GB, free: 264 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/1.167, allocations: 186.6 kB / 1.056 GB, free: 104 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/1.167, allocations: 29.7 kB / 1.056 GB, free: 68 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/1.167, allocations: 170 kB / 1.056 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/1.167, allocations: 88.19 kB / 1.056 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/1.167, allocations: 0 / 1.056 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.167, allocations: 338.6 kB / 1.056 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/1.168, allocations: 120.3 kB / 1.056 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/1.168, allocations: 197.1 kB / 1.056 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/1.169, allocations: 167.8 kB / 1.057 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/1.169, allocations: 3.938 kB / 1.057 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001335/1.17, allocations: 422.7 kB / 1.057 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004978/1.17, allocations: 0.9024 MB / 1.058 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.17, allocations: 11.98 kB / 1.058 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/1.171, allocations: 39.45 kB / 1.058 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/1.172, allocations: 90.98 kB / 1.058 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/1.174, allocations: 1.435 MB / 1.059 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/1.175, allocations: 55.48 kB / 1.059 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/1.175, allocations: 8 kB / 1.059 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.175, allocations: 4 kB / 1.059 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/1.176, allocations: 359 kB / 1.06 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.176, allocations: 0 / 1.06 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/1.176, allocations: 47.73 kB / 1.06 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/1.177, allocations: 91.92 kB / 1.06 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.179, allocations: 1.427 MB / 1.061 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/1.179, allocations: 39.86 kB / 1.061 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/1.179, allocations: 19.25 kB / 1.061 GB, free: 10.31 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.0002066/1.18, allocations: 112.9 kB / 1.061 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001103/1.181, allocations: 359.8 kB / 1.062 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/1.181, allocations: 23.72 kB / 1.062 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/1.182, allocations: 389.4 kB / 1.062 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/1.182, allocations: 7.984 kB / 1.062 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.182, allocations: 0 / 1.062 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.182, allocations: 7.938 kB / 1.062 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/1.183, allocations: 0.507 MB / 1.063 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.183, allocations: 0 / 1.063 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/1.184, allocations: 87.52 kB / 1.063 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/1.184, allocations: 32.27 kB / 1.063 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/1.184, allocations: 7.984 kB / 1.063 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/1.186, allocations: 1.347 MB / 1.064 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/1.186, allocations: 4.031 kB / 1.064 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/1.187, allocations: 0.4958 MB / 1.065 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/1.188, allocations: 131.5 kB / 1.065 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/1.188, allocations: 0 / 1.065 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/1.188, allocations: 43.33 kB / 1.065 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.188, allocations: 35.69 kB / 1.065 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/1.188, allocations: 15.02 kB / 1.065 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002352/1.189, allocations: 157.5 kB / 1.065 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/1.189, allocations: 3.938 kB / 1.065 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009287/1.19, allocations: 127.9 kB / 1.065 GB, free: 6.648 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.002668/1.192, allocations: 1.257 MB / 1.066 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002859/1.195, allocations: 0.8277 MB / 1.067 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.195, allocations: 4 kB / 1.067 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.196, allocations: 276.9 kB / 1.067 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/1.197, allocations: 43.28 kB / 1.068 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/1.2, allocations: 0.5062 MB / 1.068 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/1.201, allocations: 0.7986 MB / 1.069 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009661/1.202, allocations: 102.1 kB / 1.069 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/1.202, allocations: 88.52 kB / 1.069 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of SimCode: time 1.644e-06/1.202, allocations: 0 / 1.069 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/1.255, allocations: 6.287 MB / 1.075 GB, free: 12.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003643/1.256, allocations: 163 kB / 1.075 GB, free: 12.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.831, allocations: 2.031 kB / 1.075 GB, free: 12.56 MB / 0.698 GB