Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.325/2.325, allocations: 251 MB / 265.9 MB, free: 11.69 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.001537/0.001536, allocations: 184 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.28/2.28, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001775/0.001775, allocations: 89.38 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 9 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2068, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/0.4657, allocations: 159.4 MB / 1.054 GB, free: 2.324 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.4661, allocations: 95.94 kB / 1.055 GB, free: 2.23 MB / 0.698 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);. Notification: Performance of FrontEnd - DAE generated: time 0.7135/1.18, allocations: 19.49 MB / 1.074 GB, free: 154.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/1.18, allocations: 7.938 kB / 1.074 GB, free: 154.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.037e-05/1.18, allocations: 8.125 kB / 1.074 GB, free: 154.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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001479/1.181, allocations: 0.6195 MB / 1.074 GB, free: 154 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.181, allocations: 9.406 kB / 1.074 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/1.181, allocations: 73.61 kB / 1.074 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/1.183, allocations: 101.4 kB / 1.074 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/1.183, allocations: 289.1 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/1.183, allocations: 24.16 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/1.183, allocations: 28.02 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/1.185, allocations: 485.2 kB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/1.185, allocations: 4 kB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.743e-05/1.185, allocations: 14.3 kB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.811e-05/1.185, allocations: 36 kB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/1.186, allocations: 385.5 kB / 1.076 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/1.19, allocations: 2.056 MB / 1.078 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/1.191, allocations: 225 kB / 1.078 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/1.191, allocations: 2.719 kB / 1.078 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/1.191, allocations: 35.81 kB / 1.078 GB, free: 151.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.765e-06/1.191, allocations: 0 / 1.078 GB, free: 151.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001827/1.193, allocations: 462.3 kB / 1.078 GB, free: 151.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.193, allocations: 57.89 kB / 1.078 GB, free: 151.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/1.193, allocations: 235.4 kB / 1.079 GB, free: 151.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/1.193, allocations: 34.3 kB / 1.079 GB, free: 151 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/1.193, allocations: 207.1 kB / 1.079 GB, free: 150.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/1.193, allocations: 68.44 kB / 1.079 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/1.193, allocations: 6.688 kB / 1.079 GB, free: 150.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/1.193, allocations: 334.2 kB / 1.079 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/1.194, allocations: 106.7 kB / 1.079 GB, free: 150.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008433/1.195, allocations: 210.5 kB / 1.079 GB, free: 150.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/1.196, allocations: 138.8 kB / 1.08 GB, free: 150.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/1.196, allocations: 1.5 kB / 1.08 GB, free: 150.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002271/1.198, allocations: 384.8 kB / 1.08 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004527/1.199, allocations: 1.306 MB / 1.081 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.199, allocations: 14.2 kB / 1.081 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/1.199, allocations: 33.75 kB / 1.081 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/1.2, allocations: 74.27 kB / 1.081 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006702/1.201, allocations: 0.5495 MB / 1.082 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009328/1.202, allocations: 52.09 kB / 1.082 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/1.202, allocations: 15.16 kB / 1.082 GB, free: 148.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.202, allocations: 3.344 kB / 1.082 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001715/1.203, allocations: 304.6 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.204, allocations: 4.156 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/1.204, allocations: 6.125 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/1.204, allocations: 75.52 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/1.205, allocations: 13.11 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/1.205, allocations: 41.52 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/1.205, allocations: 13.66 kB / 1.082 GB, free: 148.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004346/1.206, allocations: 250.7 kB / 1.083 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/1.206, allocations: 24.16 kB / 1.083 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/1.206, allocations: 33.11 kB / 1.083 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.206, allocations: 2.094 kB / 1.083 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.206, allocations: 5.031 kB / 1.083 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.206, allocations: 0 / 1.083 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008395/1.207, allocations: 354.1 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.207, allocations: 0 / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/1.207, allocations: 40.31 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/1.208, allocations: 28.62 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/1.208, allocations: 8.969 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/1.209, allocations: 1.321 MB / 1.084 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.209, allocations: 1.031 kB / 1.084 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/1.21, allocations: 382.7 kB / 1.085 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/1.21, allocations: 118.6 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/1.21, allocations: 5.188 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/1.211, allocations: 24.12 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/1.211, allocations: 18.31 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/1.211, allocations: 3.594 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002729/1.211, allocations: 186.7 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.211, allocations: 0 / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009149/1.212, allocations: 141.4 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/1.213, allocations: 0.9204 MB / 1.086 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001828/1.215, allocations: 426.3 kB / 1.087 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.215, allocations: 5.25 kB / 1.087 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006653/1.216, allocations: 234.7 kB / 1.087 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/1.217, allocations: 63.55 kB / 1.087 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/1.222, allocations: 3.815 MB / 1.091 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/1.222, allocations: 0.8089 MB / 1.091 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005131/1.223, allocations: 77.64 kB / 1.091 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/1.223, allocations: 84.94 kB / 1.092 GB, free: 140.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.223, allocations: 0 / 1.092 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/1.257, allocations: 5.517 MB / 1.097 GB, free: 137.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/1.257, allocations: 213.5 kB / 1.097 GB, free: 136.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/4.079, allocations: 2.953 kB / 1.097 GB, free: 136.9 MB / 0.698 GB