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.156/2.156, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001459/0.001458, allocations: 175.1 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001081/0.001081, allocations: 105.8 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.495e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8981/1.1, allocations: 147.7 MB / 1.035 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/1.1, allocations: 94.31 kB / 1.035 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08545/1.186, allocations: 20.37 MB / 1.055 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.364e-06/1.186, allocations: 0 / 1.055 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.469e-05/1.186, allocations: 15.98 kB / 1.055 GB, free: 3.641 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001474/1.187, allocations: 0.6422 MB / 1.056 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.187, allocations: 8.031 kB / 1.056 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/1.187, allocations: 68.53 kB / 1.056 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/1.189, allocations: 139.2 kB / 1.056 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/1.19, allocations: 373.8 kB / 1.056 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/1.19, allocations: 23.41 kB / 1.056 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.985e-05/1.19, allocations: 34.91 kB / 1.056 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.191, allocations: 0.5807 MB / 1.057 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/1.191, allocations: 7.906 kB / 1.057 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/1.191, allocations: 15.55 kB / 1.057 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-05/1.191, allocations: 35.73 kB / 1.057 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009684/1.192, allocations: 371.1 kB / 1.057 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004621/1.197, allocations: 3.369 MB / 1.06 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/1.198, allocations: 314.1 kB / 1.061 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/1.198, allocations: 158.9 kB / 1.061 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/1.198, allocations: 11.98 kB / 1.061 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.198, allocations: 34.55 kB / 1.061 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 3.647e-06/1.198, allocations: 0 / 1.061 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001951/1.2, allocations: 0.6007 MB / 1.062 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/1.2, allocations: 59.58 kB / 1.062 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/1.201, allocations: 288.5 kB / 1.062 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/1.201, allocations: 33.58 kB / 1.062 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/1.201, allocations: 236.7 kB / 1.062 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.201, allocations: 96.36 kB / 1.062 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/1.201, allocations: 7.688 kB / 1.062 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.202, allocations: 346.8 kB / 1.063 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/1.202, allocations: 129.7 kB / 1.063 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/1.202, allocations: 256.3 kB / 1.063 GB, free: 12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/1.203, allocations: 173.6 kB / 1.063 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.203, allocations: 0 / 1.063 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001449/1.204, allocations: 0.5157 MB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/1.204, allocations: 4 kB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.204, allocations: 4 kB / 1.064 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/1.205, allocations: 83.45 kB / 1.064 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/1.206, allocations: 87.62 kB / 1.064 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/1.206, allocations: 7.938 kB / 1.064 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/1.206, allocations: 34.88 kB / 1.064 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/1.206, allocations: 19.5 kB / 1.064 GB, free: 11.24 MB / 0.6823 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 () * 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.0001497/1.206, allocations: 123.5 kB / 1.064 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/1.206, allocations: 47.47 kB / 1.064 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/1.208, allocations: 433.4 kB / 1.064 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/1.208, allocations: 7.938 kB / 1.064 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.208, allocations: 0 / 1.064 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.208, allocations: 11.94 kB / 1.064 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/1.21, allocations: 0.9361 MB / 1.065 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.21, allocations: 4.094 kB / 1.065 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/1.211, allocations: 51.91 kB / 1.065 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/1.211, allocations: 82.47 kB / 1.065 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/1.211, allocations: 7.312 kB / 1.065 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.211, allocations: 0 / 1.065 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.211, allocations: 4 kB / 1.065 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/1.212, allocations: 0.5559 MB / 1.066 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/1.213, allocations: 134.2 kB / 1.066 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/1.213, allocations: 11.61 kB / 1.066 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/1.213, allocations: 23.84 kB / 1.066 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.213, allocations: 30.91 kB / 1.066 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/1.213, allocations: 4 kB / 1.066 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003559/1.214, allocations: 230.4 kB / 1.066 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.214, allocations: 0 / 1.066 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006015/1.214, allocations: 106.3 kB / 1.067 GB, free: 8.793 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: 0 () * Number of discrete 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.00176/1.216, allocations: 1.3 MB / 1.068 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.217, allocations: 0.5941 MB / 1.068 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.217, allocations: 0 / 1.068 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006202/1.218, allocations: 425 kB / 1.069 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.219, allocations: 113.3 kB / 1.069 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/1.221, allocations: 0.6134 MB / 1.07 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/1.222, allocations: 0.8411 MB / 1.07 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004775/1.222, allocations: 79.28 kB / 1.07 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.222, allocations: 123.8 kB / 1.071 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/1.222, allocations: 4 kB / 1.071 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/1.26, allocations: 7.763 MB / 1.078 GB, free: 13.35 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/1.26, allocations: 194 kB / 1.078 GB, free: 13.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.887, allocations: 3.5 kB / 1.078 GB, free: 13.13 MB / 0.698 GB