Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.264/2.264, 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.001667/0.001667, allocations: 186 kB / 325.5 MB, free: 2.898 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.454/2.454, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001182/0.001182, allocations: 84.88 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006803/0.0006804, allocations: 14.91 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2299, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2589/0.4888, allocations: 147.8 MB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.4892, allocations: 91.94 kB / 1.043 GB, free: 13.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7297/1.219, allocations: 20.49 MB / 1.063 GB, free: 149.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.219, allocations: 0 / 1.063 GB, free: 149.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.273e-05/1.219, allocations: 9.078 kB / 1.063 GB, free: 149.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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001706/1.221, allocations: 0.6984 MB / 1.064 GB, free: 149 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.221, allocations: 11.94 kB / 1.064 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/1.221, allocations: 72.12 kB / 1.064 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/1.223, allocations: 144.6 kB / 1.064 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009495/1.224, allocations: 375.9 kB / 1.065 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/1.224, allocations: 22.59 kB / 1.065 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/1.224, allocations: 27.44 kB / 1.065 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.225, allocations: 0.6029 MB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/1.225, allocations: 4.906 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/1.225, allocations: 15.41 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-05/1.225, allocations: 33.55 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/1.227, allocations: 422.8 kB / 1.066 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004645/1.232, allocations: 3.364 MB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.233, allocations: 333 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/1.233, allocations: 2.25 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.233, allocations: 36.78 kB / 1.069 GB, free: 145.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.176e-06/1.233, allocations: 0 / 1.069 GB, free: 145.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.003793/1.237, allocations: 1.081 MB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/1.237, allocations: 58.69 kB / 1.07 GB, free: 145.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/1.238, allocations: 301.2 kB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/1.238, allocations: 30.45 kB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/1.238, allocations: 246.3 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/1.238, allocations: 98.42 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/1.238, allocations: 9 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.238, allocations: 346.1 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/1.239, allocations: 149.2 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/1.239, allocations: 273.6 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/1.24, allocations: 194.3 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.24, allocations: 0.9062 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001849/1.242, allocations: 0.5498 MB / 1.072 GB, free: 144.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/1.242, allocations: 8.656 kB / 1.072 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/1.242, allocations: 8.812 kB / 1.072 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00051/1.242, allocations: 89.48 kB / 1.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/1.243, allocations: 81.42 kB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/1.243, allocations: 8.953 kB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/1.244, allocations: 32.98 kB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/1.244, allocations: 15.91 kB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004163/1.244, allocations: 176.3 kB / 1.073 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/1.244, allocations: 43.17 kB / 1.073 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.246, allocations: 470.9 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.246, allocations: 3.375 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.246, allocations: 1.094 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.246, allocations: 7.891 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/1.249, allocations: 0.9738 MB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.249, allocations: 1.062 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/1.25, allocations: 58.25 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000575/1.25, allocations: 79.84 kB / 1.074 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/1.25, allocations: 6.375 kB / 1.074 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/1.25, allocations: 2.219 kB / 1.074 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.25, allocations: 8.719 kB / 1.074 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/1.253, allocations: 0.5931 MB / 1.075 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/1.254, allocations: 142.6 kB / 1.075 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/1.254, allocations: 5.781 kB / 1.075 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/1.255, allocations: 24.81 kB / 1.075 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.255, allocations: 21.19 kB / 1.075 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/1.255, allocations: 13.38 kB / 1.075 GB, free: 143.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003979/1.256, allocations: 235.4 kB / 1.075 GB, free: 143.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.513e-06/1.256, allocations: 0 / 1.075 GB, free: 143.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007343/1.257, allocations: 93.34 kB / 1.076 GB, free: 143 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/1.258, allocations: 1.344 MB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001372/1.26, allocations: 0.6414 MB / 1.078 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.26, allocations: 0 / 1.078 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/1.261, allocations: 429.1 kB / 1.078 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/1.262, allocations: 115.8 kB / 1.078 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/1.268, allocations: 4.896 MB / 1.083 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/1.268, allocations: 0.8407 MB / 1.084 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005477/1.269, allocations: 79.59 kB / 1.084 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/1.269, allocations: 123.3 kB / 1.084 GB, free: 137.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.269, allocations: 0 / 1.084 GB, free: 137.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/1.309, allocations: 7.821 MB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/1.31, allocations: 215.3 kB / 1.092 GB, free: 135.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/4.035, allocations: 7.594 kB / 1.092 GB, free: 135.9 MB / 0.698 GB