Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.246/2.246, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001607/0.001606, allocations: 180.8 kB / 315.4 MB, free: 4.035 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.033/2.033, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 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.001176/0.001175, allocations: 102.7 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.573e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9131/1.119, allocations: 159.9 MB / 1.04 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.119, allocations: 84.27 kB / 1.04 GB, free: 13.1 MB / 0.6667 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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.06995/1.189, allocations: 17.68 MB / 1.058 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/1.189, allocations: 0 / 1.058 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.71e-05/1.189, allocations: 12 kB / 1.058 GB, free: 14.54 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001548/1.191, allocations: 0.6062 MB / 1.058 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.191, allocations: 12.03 kB / 1.058 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.192, allocations: 115.4 kB / 1.058 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/1.193, allocations: 329.8 kB / 1.059 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/1.193, allocations: 42.48 kB / 1.059 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/1.193, allocations: 16 kB / 1.059 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008621/1.194, allocations: 308.9 kB / 1.059 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/1.195, allocations: 431.6 kB / 1.059 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.195, allocations: 4 kB / 1.059 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/1.195, allocations: 4 kB / 1.059 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/1.195, allocations: 32.66 kB / 1.059 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/1.199, allocations: 2.142 MB / 1.061 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.2, allocations: 239 kB / 1.062 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/1.2, allocations: 135.7 kB / 1.062 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/1.201, allocations: 4 kB / 1.062 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/1.201, allocations: 38.38 kB / 1.062 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 2.705e-06/1.201, allocations: 0 / 1.062 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0009607/1.202, allocations: 248.6 kB / 1.062 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.202, allocations: 63.34 kB / 1.062 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/1.202, allocations: 173.3 kB / 1.062 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/1.202, allocations: 25.7 kB / 1.062 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/1.202, allocations: 208.8 kB / 1.063 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/1.202, allocations: 69.5 kB / 1.063 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/1.202, allocations: 0 / 1.063 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.202, allocations: 333.7 kB / 1.063 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/1.203, allocations: 72.53 kB / 1.063 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/1.203, allocations: 151.3 kB / 1.063 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/1.203, allocations: 100.6 kB / 1.063 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.203, allocations: 0 / 1.063 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001022/1.204, allocations: 303.4 kB / 1.064 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004406/1.205, allocations: 0.9726 MB / 1.065 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.205, allocations: 3.938 kB / 1.065 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/1.205, allocations: 96.14 kB / 1.065 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/1.206, allocations: 59.53 kB / 1.065 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/1.209, allocations: 1.966 MB / 1.067 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/1.209, allocations: 27.31 kB / 1.067 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/1.209, allocations: 15.98 kB / 1.067 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.21, allocations: 5.719 kB / 1.067 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008736/1.21, allocations: 241 kB / 1.067 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.21, allocations: 8.312 kB / 1.067 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/1.211, allocations: 70.55 kB / 1.067 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/1.211, allocations: 59.84 kB / 1.067 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/1.214, allocations: 1.419 MB / 1.068 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/1.214, allocations: 23.86 kB / 1.068 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/1.214, allocations: 12 kB / 1.068 GB, free: 3.766 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001555/1.215, allocations: 112.9 kB / 1.069 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008383/1.215, allocations: 249.6 kB / 1.069 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/1.216, allocations: 23.72 kB / 1.069 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.79e-05/1.216, allocations: 20.78 kB / 1.069 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.216, allocations: 4 kB / 1.069 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.216, allocations: 0 / 1.069 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.216, allocations: 8.125 kB / 1.069 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/1.217, allocations: 0.7321 MB / 1.07 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.217, allocations: 0 / 1.07 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/1.218, allocations: 42.97 kB / 1.07 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006071/1.218, allocations: 98.39 kB / 1.07 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/1.218, allocations: 0 / 1.07 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/1.222, allocations: 2.672 MB / 1.072 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.222, allocations: 0 / 1.072 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/1.223, allocations: 397.1 kB / 1.073 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/1.224, allocations: 112.2 kB / 1.073 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/1.224, allocations: 4 kB / 1.073 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/1.224, allocations: 15.3 kB / 1.073 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.224, allocations: 23.92 kB / 1.073 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/1.224, allocations: 7.75 kB / 1.073 GB, free: 15.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001741/1.224, allocations: 140 kB / 1.073 GB, free: 15.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.224, allocations: 0 / 1.073 GB, free: 15.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009042/1.225, allocations: 167.2 kB / 1.073 GB, free: 14.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/1.227, allocations: 1.06 MB / 1.074 GB, free: 13.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002477/1.229, allocations: 0.5626 MB / 1.075 GB, free: 13.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.229, allocations: 0 / 1.075 GB, free: 13.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.23, allocations: 345.9 kB / 1.075 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/1.231, allocations: 47.23 kB / 1.075 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/1.232, allocations: 478 kB / 1.076 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/1.233, allocations: 0.8163 MB / 1.076 GB, free: 11.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004049/1.233, allocations: 58.02 kB / 1.076 GB, free: 11.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/1.234, allocations: 85.16 kB / 1.076 GB, free: 11.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.046e-06/1.234, allocations: 0 / 1.076 GB, free: 11.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04809/1.282, allocations: 5.923 MB / 1.082 GB, free: 5.816 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003519/1.282, allocations: 144 kB / 1.082 GB, free: 5.625 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.767, allocations: 2.672 kB / 1.082 GB, free: 5.625 MB / 0.698 GB