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.28/2.28, allocations: 248.5 MB / 261.1 MB, free: 6.078 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.00149/0.00149, allocations: 174.9 kB / 320.4 MB, free: 15.34 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.925/1.925, allocations: 205.1 MB / 0.571 GB, free: 11.74 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.001116/0.001116, allocations: 90.47 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.737e-05, allocations: 0 / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1979, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9018/1.1, allocations: 159.3 MB / 1.046 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.1, allocations: 90.69 kB / 1.046 GB, free: 9.715 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);. Notification: Performance of FrontEnd - DAE generated: time 0.07532/1.175, allocations: 19.37 MB / 1.065 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/1.175, allocations: 0 / 1.065 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.869e-05/1.176, allocations: 8 kB / 1.065 GB, free: 9.797 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001624/1.177, allocations: 0.5844 MB / 1.066 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/1.177, allocations: 12.03 kB / 1.066 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/1.177, allocations: 75.61 kB / 1.066 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/1.179, allocations: 103.3 kB / 1.066 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/1.179, allocations: 298.8 kB / 1.066 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/1.179, allocations: 19.34 kB / 1.066 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/1.179, allocations: 30.19 kB / 1.066 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.18, allocations: 447.3 kB / 1.067 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.18, allocations: 4 kB / 1.067 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/1.181, allocations: 9.875 kB / 1.067 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.851e-05/1.181, allocations: 32.2 kB / 1.067 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/1.181, allocations: 317.2 kB / 1.067 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/1.185, allocations: 2.049 MB / 1.069 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/1.186, allocations: 193.6 kB / 1.069 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/1.186, allocations: 133.9 kB / 1.069 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/1.186, allocations: 7.375 kB / 1.069 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.186, allocations: 34.56 kB / 1.069 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 6.422e-06/1.186, allocations: 0 / 1.069 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.000697/1.187, allocations: 209.1 kB / 1.07 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.187, allocations: 55.34 kB / 1.07 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/1.187, allocations: 235.2 kB / 1.07 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.187, allocations: 28.52 kB / 1.07 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/1.188, allocations: 208.6 kB / 1.07 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/1.188, allocations: 65.03 kB / 1.07 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/1.188, allocations: 3.875 kB / 1.07 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.188, allocations: 336.1 kB / 1.071 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/1.188, allocations: 68.61 kB / 1.071 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/1.188, allocations: 169.4 kB / 1.071 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/1.189, allocations: 99.2 kB / 1.071 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/1.189, allocations: 4 kB / 1.071 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008244/1.19, allocations: 300.8 kB / 1.071 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008267/1.19, allocations: 1.398 MB / 1.073 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.19, allocations: 0 / 1.073 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/1.191, allocations: 40.27 kB / 1.073 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/1.191, allocations: 63.91 kB / 1.073 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005337/1.192, allocations: 0.5564 MB / 1.073 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/1.192, allocations: 51.39 kB / 1.073 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/1.192, allocations: 11.56 kB / 1.073 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.192, allocations: 4 kB / 1.073 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005726/1.193, allocations: 232.4 kB / 1.073 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.193, allocations: 4 kB / 1.073 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.193, allocations: 4 kB / 1.073 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/1.193, allocations: 75.45 kB / 1.074 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.194, allocations: 11.94 kB / 1.074 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/1.194, allocations: 43.36 kB / 1.074 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/1.194, allocations: 15.5 kB / 1.074 GB, free: 1.594 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001405/1.194, allocations: 124 kB / 1.074 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/1.194, allocations: 27.72 kB / 1.074 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/1.194, allocations: 30.2 kB / 1.074 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.194, allocations: 4 kB / 1.074 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.194, allocations: 0 / 1.074 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.194, allocations: 0 / 1.074 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/1.196, allocations: 0.7067 MB / 1.074 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.196, allocations: 0 / 1.074 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/1.196, allocations: 47.91 kB / 1.075 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/1.196, allocations: 28.41 kB / 1.075 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/1.196, allocations: 10.77 kB / 1.075 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/1.198, allocations: 1.323 MB / 1.076 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.198, allocations: 4.031 kB / 1.076 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/1.199, allocations: 340 kB / 1.076 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/1.199, allocations: 127.4 kB / 1.076 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/1.199, allocations: 3.312 kB / 1.076 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/1.199, allocations: 19.89 kB / 1.076 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/1.199, allocations: 23.28 kB / 1.076 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/1.199, allocations: 7.25 kB / 1.076 GB, free: 14.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002765/1.2, allocations: 179.6 kB / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.2, allocations: 0 / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008249/1.201, allocations: 141.1 kB / 1.077 GB, free: 14.48 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 (18): * Single equations (assignments): 17 * 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.001143/1.202, allocations: 1.022 MB / 1.078 GB, free: 13.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009994/1.203, allocations: 309.6 kB / 1.078 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.203, allocations: 0 / 1.078 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/1.203, allocations: 195.5 kB / 1.078 GB, free: 13.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/1.204, allocations: 68.91 kB / 1.078 GB, free: 13.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/1.205, allocations: 464.3 kB / 1.079 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/1.206, allocations: 0.8101 MB / 1.079 GB, free: 11.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005574/1.207, allocations: 81.97 kB / 1.08 GB, free: 11.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/1.207, allocations: 90.72 kB / 1.08 GB, free: 11.63 MB / 0.698 GB Notification: Performance of SimCode: time 1.183e-06/1.207, allocations: 0 / 1.08 GB, free: 11.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/1.238, allocations: 5.853 MB / 1.085 GB, free: 5.949 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/1.238, allocations: 180.8 kB / 1.085 GB, free: 5.727 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.925, allocations: 0 / 1.085 GB, free: 5.727 MB / 0.698 GB