Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",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.849/2.849, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.001639/0.001638, allocations: 186.7 kB / 320.4 MB, free: 15.32 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.993/1.993, allocations: 205.2 MB / 0.571 GB, free: 11.72 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.001179/0.001178, allocations: 100.7 kB / 0.6754 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.304e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8915/1.095, allocations: 148.3 MB / 1.035 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.096, allocations: 81.7 kB / 1.036 GB, free: 4.312 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.02436/1.12, allocations: 5.634 MB / 1.041 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.324e-06/1.12, allocations: 0 / 1.041 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.137e-05/1.12, allocations: 4 kB / 1.041 GB, free: 15.71 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007699/1.121, allocations: 454.9 kB / 1.041 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/1.121, allocations: 8.25 kB / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.202e-05/1.121, allocations: 44.17 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/1.121, allocations: 42.88 kB / 1.042 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/1.122, allocations: 204.4 kB / 1.042 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.122, allocations: 37.27 kB / 1.042 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/1.122, allocations: 11.5 kB / 1.042 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/1.122, allocations: 147.4 kB / 1.042 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.122, allocations: 3.984 kB / 1.042 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/1.122, allocations: 7.078 kB / 1.042 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/1.123, allocations: 12.17 kB / 1.042 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/1.123, allocations: 71.55 kB / 1.042 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/1.124, allocations: 0.6397 MB / 1.043 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/1.124, allocations: 46.33 kB / 1.043 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/1.124, allocations: 20.48 kB / 1.043 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/1.124, allocations: 0 / 1.043 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/1.125, allocations: 146.5 kB / 1.043 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/1.125, allocations: 0 / 1.043 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0003773/1.125, allocations: 125.7 kB / 1.043 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/1.125, allocations: 136.1 kB / 1.043 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/1.126, allocations: 167.4 kB / 1.043 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/1.126, allocations: 25.7 kB / 1.043 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.126, allocations: 137.3 kB / 1.043 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/1.126, allocations: 19.36 kB / 1.043 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/1.126, allocations: 7.438 kB / 1.043 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.126, allocations: 325.7 kB / 1.044 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/1.126, allocations: 30.38 kB / 1.044 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/1.126, allocations: 103.1 kB / 1.044 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/1.126, allocations: 101.1 kB / 1.044 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.126, allocations: 4 kB / 1.044 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005184/1.127, allocations: 234.5 kB / 1.044 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/1.127, allocations: 63.16 kB / 1.044 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.127, allocations: 3.953 kB / 1.044 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.127, allocations: 4 kB / 1.044 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/1.127, allocations: 31.92 kB / 1.044 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.127, allocations: 11.92 kB / 1.044 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/1.128, allocations: 28.16 kB / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/1.128, allocations: 11.25 kB / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/1.128, allocations: 149 kB / 1.045 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/1.128, allocations: 7.906 kB / 1.045 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/1.128, allocations: 15.97 kB / 1.045 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/1.128, allocations: 7.953 kB / 1.045 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.128, allocations: 0 / 1.045 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.128, allocations: 7.984 kB / 1.045 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/1.128, allocations: 209.6 kB / 1.045 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.128, allocations: 0 / 1.045 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/1.129, allocations: 11.98 kB / 1.045 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/1.129, allocations: 0 / 1.045 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/1.129, allocations: 4 kB / 1.045 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.129, allocations: 4 kB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.129, allocations: 3.953 kB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/1.129, allocations: 201.5 kB / 1.045 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/1.129, allocations: 84.92 kB / 1.045 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/1.129, allocations: 10.89 kB / 1.045 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/1.13, allocations: 8 kB / 1.045 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/1.13, allocations: 14.94 kB / 1.045 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/1.13, allocations: 4 kB / 1.045 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001786/1.13, allocations: 135.3 kB / 1.045 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/1.13, allocations: 0 / 1.045 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003941/1.13, allocations: 35.44 kB / 1.045 GB, free: 11.33 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000881/1.131, allocations: 0.7396 MB / 1.046 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004308/1.132, allocations: 207.3 kB / 1.046 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.132, allocations: 128 / 1.046 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/1.132, allocations: 101 kB / 1.046 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/1.132, allocations: 16.75 kB / 1.046 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009293/1.133, allocations: 246 kB / 1.047 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/1.133, allocations: 0.7149 MB / 1.047 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001462/1.134, allocations: 20.75 kB / 1.047 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/1.134, allocations: 35.55 kB / 1.047 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/1.134, allocations: 0 / 1.047 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/1.158, allocations: 2.655 MB / 1.05 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/1.158, allocations: 161.5 kB / 1.05 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.509, allocations: 2.812 kB / 1.05 GB, free: 6.508 MB / 0.6667 GB