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.442/2.442, allocations: 251 MB / 265.9 MB, free: 11.67 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.001526/0.001526, allocations: 178.1 kB / 325.5 MB, free: 2.879 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.367/2.367, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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: 92.05 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 14.97 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.5244, allocations: 159.6 MB / 1.055 GB, free: 1.586 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004196/0.5249, allocations: 103.9 kB / 1.055 GB, free: 1.484 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);. [/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.6486/1.173, allocations: 17.85 MB / 1.072 GB, free: 154.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.116e-06/1.174, allocations: 0 / 1.072 GB, free: 154.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.934e-05/1.174, allocations: 15.91 kB / 1.072 GB, free: 154.6 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001797/1.175, allocations: 0.6347 MB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.175, allocations: 8.875 kB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/1.176, allocations: 79.09 kB / 1.073 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/1.177, allocations: 120.6 kB / 1.073 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/1.178, allocations: 317.1 kB / 1.073 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.98e-05/1.178, allocations: 60.64 kB / 1.073 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/1.178, allocations: 30.25 kB / 1.073 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.18, allocations: 0.4975 MB / 1.074 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/1.18, allocations: 1.094 kB / 1.074 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.136e-05/1.18, allocations: 12.22 kB / 1.074 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-05/1.18, allocations: 32.06 kB / 1.074 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.181, allocations: 392.2 kB / 1.074 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/1.185, allocations: 2.227 MB / 1.077 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/1.186, allocations: 278 kB / 1.077 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/1.186, allocations: 10.66 kB / 1.077 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/1.186, allocations: 34.06 kB / 1.077 GB, free: 151.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.146e-06/1.186, allocations: 0 / 1.077 GB, free: 151.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002428/1.188, allocations: 0.5957 MB / 1.077 GB, free: 151.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/1.188, allocations: 58.56 kB / 1.078 GB, free: 151.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/1.189, allocations: 204.7 kB / 1.078 GB, free: 151 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/1.189, allocations: 30.02 kB / 1.078 GB, free: 150.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.189, allocations: 210.7 kB / 1.078 GB, free: 150.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/1.189, allocations: 65.41 kB / 1.078 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/1.189, allocations: 4.938 kB / 1.078 GB, free: 150.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/1.189, allocations: 332.1 kB / 1.078 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/1.19, allocations: 99.33 kB / 1.078 GB, free: 150.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/1.19, allocations: 178.6 kB / 1.079 GB, free: 150.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/1.191, allocations: 124 kB / 1.079 GB, free: 150.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.191, allocations: 1.438 kB / 1.079 GB, free: 150.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001493/1.192, allocations: 393.5 kB / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/1.192, allocations: 0.8746 MB / 1.08 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.192, allocations: 3.375 kB / 1.08 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007976/1.193, allocations: 106.5 kB / 1.08 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/1.194, allocations: 52.16 kB / 1.08 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/1.197, allocations: 2.07 MB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/1.198, allocations: 41.91 kB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/1.198, allocations: 12.72 kB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.198, allocations: 3.031 kB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/1.199, allocations: 324.3 kB / 1.082 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.199, allocations: 2.438 kB / 1.082 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/1.2, allocations: 81.62 kB / 1.083 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/1.2, allocations: 58.56 kB / 1.083 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/1.203, allocations: 1.503 MB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/1.203, allocations: 37.02 kB / 1.084 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/1.203, allocations: 12 kB / 1.084 GB, free: 145.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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.0003545/1.204, allocations: 258.7 kB / 1.084 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/1.204, allocations: 22.31 kB / 1.084 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/1.204, allocations: 26.69 kB / 1.084 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.204, allocations: 7.438 kB / 1.084 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.204, allocations: 4 kB / 1.084 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.204, allocations: 7.969 kB / 1.084 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/1.205, allocations: 378.3 kB / 1.085 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.205, allocations: 0 / 1.085 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/1.205, allocations: 28.55 kB / 1.085 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000665/1.206, allocations: 107.7 kB / 1.085 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/1.206, allocations: 5.156 kB / 1.085 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/1.21, allocations: 2.83 MB / 1.088 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.21, allocations: 1.062 kB / 1.088 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/1.211, allocations: 412.8 kB / 1.088 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/1.211, allocations: 114.2 kB / 1.088 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/1.211, allocations: 9.141 kB / 1.088 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/1.212, allocations: 11.78 kB / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.212, allocations: 27.22 kB / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/1.212, allocations: 8.094 kB / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002559/1.212, allocations: 161.4 kB / 1.088 GB, free: 141.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.212, allocations: 0.625 kB / 1.088 GB, free: 141.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001028/1.213, allocations: 164.8 kB / 1.089 GB, free: 141.7 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 (16): * Single equations (assignments): 14 * 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.001625/1.215, allocations: 0.9581 MB / 1.089 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003365/1.218, allocations: 0.6568 MB / 1.09 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.218, allocations: 0.5625 kB / 1.09 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/1.219, allocations: 382.2 kB / 1.09 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/1.22, allocations: 53.5 kB / 1.091 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/1.226, allocations: 3.03 MB / 1.094 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/1.226, allocations: 0.8161 MB / 1.094 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003871/1.227, allocations: 61.19 kB / 1.094 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/1.227, allocations: 87.09 kB / 1.094 GB, free: 136.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.316e-06/1.227, allocations: 0 / 1.094 GB, free: 136.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/1.257, allocations: 6.361 MB / 1.101 GB, free: 132.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/1.257, allocations: 212.7 kB / 1.101 GB, free: 132.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.948, allocations: 0 / 1.101 GB, free: 132.2 MB / 0.698 GB