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.253/2.253, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.001481/0.001481, allocations: 186.4 kB / 315.4 MB, free: 3.977 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.153/2.153, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 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.001036/0.001036, allocations: 86.03 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.227e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9952/1.224, allocations: 159.6 MB / 1.04 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/1.224, allocations: 84.77 kB / 1.04 GB, free: 13.35 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.07762/1.302, allocations: 19.28 MB / 1.059 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.583e-06/1.302, allocations: 0 / 1.059 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.502e-05/1.302, allocations: 12.12 kB / 1.059 GB, free: 13.64 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.001473/1.303, allocations: 0.5886 MB / 1.059 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/1.303, allocations: 8.031 kB / 1.059 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/1.305, allocations: 103.8 kB / 1.06 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006404/1.305, allocations: 297.5 kB / 1.06 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/1.305, allocations: 8 kB / 1.06 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/1.305, allocations: 16 kB / 1.06 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007609/1.306, allocations: 279.6 kB / 1.06 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009017/1.307, allocations: 418.3 kB / 1.061 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.307, allocations: 0 / 1.061 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/1.307, allocations: 0 / 1.061 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.611e-05/1.307, allocations: 32.72 kB / 1.061 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/1.311, allocations: 1.987 MB / 1.062 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/1.312, allocations: 179.2 kB / 1.063 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/1.312, allocations: 126.8 kB / 1.063 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/1.312, allocations: 8 kB / 1.063 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.312, allocations: 34.31 kB / 1.063 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.597e-06/1.312, allocations: 0 / 1.063 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006307/1.313, allocations: 178.2 kB / 1.063 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/1.313, allocations: 55.34 kB / 1.063 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/1.313, allocations: 199.3 kB / 1.063 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/1.313, allocations: 29.7 kB / 1.063 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.313, allocations: 209.9 kB / 1.063 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/1.313, allocations: 65.55 kB / 1.064 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/1.313, allocations: 0 / 1.064 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.314, allocations: 337.8 kB / 1.064 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/1.314, allocations: 58.36 kB / 1.064 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.314, allocations: 180.2 kB / 1.064 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/1.314, allocations: 95.69 kB / 1.064 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.314, allocations: 0 / 1.064 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007774/1.315, allocations: 268.4 kB / 1.064 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007088/1.316, allocations: 1.398 MB / 1.066 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.316, allocations: 4 kB / 1.066 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/1.316, allocations: 27.91 kB / 1.066 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/1.317, allocations: 71.89 kB / 1.066 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000557/1.317, allocations: 0.554 MB / 1.066 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/1.318, allocations: 39.83 kB / 1.066 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/1.318, allocations: 8 kB / 1.066 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.318, allocations: 4 kB / 1.066 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005264/1.318, allocations: 198.6 kB / 1.067 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.318, allocations: 4 kB / 1.067 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.318, allocations: 11.98 kB / 1.067 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/1.319, allocations: 71.78 kB / 1.067 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.319, allocations: 7.984 kB / 1.067 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/1.319, allocations: 36.11 kB / 1.067 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/1.319, allocations: 8 kB / 1.067 GB, free: 5.734 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.0001917/1.32, allocations: 120.4 kB / 1.067 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005431/1.32, allocations: 181.9 kB / 1.067 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/1.32, allocations: 23.72 kB / 1.067 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.887e-05/1.32, allocations: 31.95 kB / 1.067 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.32, allocations: 4 kB / 1.067 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.32, allocations: 3.953 kB / 1.067 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.32, allocations: 0 / 1.067 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/1.322, allocations: 0.634 MB / 1.068 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.322, allocations: 7.922 kB / 1.068 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/1.322, allocations: 44.03 kB / 1.068 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001627/1.322, allocations: 31.98 kB / 1.068 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/1.323, allocations: 4 kB / 1.068 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.324, allocations: 1.264 MB / 1.069 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.324, allocations: 4.031 kB / 1.069 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/1.325, allocations: 323.1 kB / 1.069 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/1.325, allocations: 115.7 kB / 1.07 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/1.325, allocations: 7.938 kB / 1.07 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/1.325, allocations: 23.3 kB / 1.07 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/1.325, allocations: 15.97 kB / 1.07 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/1.325, allocations: 7.188 kB / 1.07 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001967/1.326, allocations: 145.8 kB / 1.07 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.326, allocations: 0 / 1.07 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000865/1.326, allocations: 135.4 kB / 1.07 GB, free: 2.648 MB / 0.6823 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.001033/1.327, allocations: 0.9955 MB / 1.071 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009513/1.328, allocations: 285.8 kB / 1.071 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.328, allocations: 1.875 kB / 1.071 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/1.329, allocations: 181.9 kB / 1.071 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/1.33, allocations: 63.52 kB / 1.071 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/1.331, allocations: 457.5 kB / 1.072 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/1.332, allocations: 0.8071 MB / 1.073 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005035/1.332, allocations: 70.02 kB / 1.073 GB, free: 15.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.332, allocations: 86.91 kB / 1.073 GB, free: 15.85 MB / 0.698 GB Notification: Performance of SimCode: time 1.203e-06/1.332, allocations: 0 / 1.073 GB, free: 15.85 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04612/1.379, allocations: 5.048 MB / 1.078 GB, free: 10.85 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003261/1.379, allocations: 143.9 kB / 1.078 GB, free: 10.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.855, allocations: 8.031 kB / 1.078 GB, free: 10.64 MB / 0.698 GB