Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",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.183/2.183, allocations: 248.5 MB / 261.1 MB, free: 6 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.001501/0.001501, allocations: 181.9 kB / 320.4 MB, free: 15.32 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.866/1.866, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001089/0.001089, allocations: 94.41 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.336e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9029/1.109, allocations: 157.6 MB / 1.045 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.109, allocations: 83.77 kB / 1.045 GB, free: 11.33 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.06281/1.172, allocations: 16.09 MB / 1.06 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.008e-06/1.172, allocations: 4 kB / 1.06 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.39e-05/1.172, allocations: 7.938 kB / 1.06 GB, free: 13.97 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001103/1.173, allocations: 0.5449 MB / 1.061 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.173, allocations: 8.031 kB / 1.061 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/1.173, allocations: 69.22 kB / 1.061 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/1.175, allocations: 139.5 kB / 1.061 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/1.176, allocations: 285.7 kB / 1.061 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/1.176, allocations: 26.83 kB / 1.061 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/1.176, allocations: 26.5 kB / 1.061 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/1.177, allocations: 455.1 kB / 1.062 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/1.177, allocations: 0 / 1.062 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/1.177, allocations: 13.44 kB / 1.062 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.113e-05/1.177, allocations: 20.55 kB / 1.062 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/1.178, allocations: 315.8 kB / 1.062 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/1.181, allocations: 2.188 MB / 1.064 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/1.182, allocations: 250.6 kB / 1.065 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/1.182, allocations: 114.8 kB / 1.065 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/1.182, allocations: 7.938 kB / 1.065 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/1.182, allocations: 37.94 kB / 1.065 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 6.562e-06/1.182, allocations: 0 / 1.065 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005529/1.183, allocations: 157.8 kB / 1.065 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.183, allocations: 51.41 kB / 1.065 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/1.183, allocations: 243.5 kB / 1.065 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/1.183, allocations: 29.64 kB / 1.065 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/1.183, allocations: 205.9 kB / 1.065 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/1.183, allocations: 53.98 kB / 1.066 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/1.183, allocations: 3.812 kB / 1.066 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.184, allocations: 333.5 kB / 1.066 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/1.184, allocations: 52.83 kB / 1.066 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/1.184, allocations: 148.8 kB / 1.066 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/1.184, allocations: 76.52 kB / 1.066 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.184, allocations: 0 / 1.066 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006583/1.185, allocations: 258.7 kB / 1.066 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.185, allocations: 6.5 kB / 1.066 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.185, allocations: 4 kB / 1.066 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/1.185, allocations: 28.28 kB / 1.066 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/1.186, allocations: 47.91 kB / 1.066 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/1.187, allocations: 1.324 MB / 1.068 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/1.187, allocations: 27 kB / 1.068 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/1.187, allocations: 12 kB / 1.068 GB, free: 6.723 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.188, allocations: 123.7 kB / 1.068 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/1.188, allocations: 23.72 kB / 1.068 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/1.188, allocations: 23.78 kB / 1.068 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/1.188, allocations: 7.984 kB / 1.068 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.188, allocations: 8.016 kB / 1.068 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.188, allocations: 0 / 1.068 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/1.189, allocations: 0.6997 MB / 1.069 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-06/1.189, allocations: 4 kB / 1.069 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/1.189, allocations: 23.98 kB / 1.069 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/1.189, allocations: 34.34 kB / 1.069 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/1.19, allocations: 0 / 1.069 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/1.191, allocations: 1.314 MB / 1.07 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.191, allocations: 0 / 1.07 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/1.191, allocations: 394.1 kB / 1.07 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/1.192, allocations: 112.2 kB / 1.07 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/1.192, allocations: 7 kB / 1.07 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/1.192, allocations: 19.55 kB / 1.07 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/1.192, allocations: 11.94 kB / 1.07 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/1.192, allocations: 15.25 kB / 1.07 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002698/1.192, allocations: 181.7 kB / 1.071 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/1.192, allocations: 0 / 1.071 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000548/1.193, allocations: 74.47 kB / 1.071 GB, free: 3.609 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/1.194, allocations: 1.33 MB / 1.072 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006791/1.195, allocations: 275.6 kB / 1.072 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.195, allocations: 0 / 1.072 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/1.195, allocations: 180.2 kB / 1.072 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/1.195, allocations: 58.94 kB / 1.073 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/1.197, allocations: 452.5 kB / 1.073 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/1.197, allocations: 0.807 MB / 1.074 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002635/1.198, allocations: 42.05 kB / 1.074 GB, free: 492 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/1.198, allocations: 82.91 kB / 1.074 GB, free: 464 kB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/1.198, allocations: 0 / 1.074 GB, free: 464 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/1.226, allocations: 4.909 MB / 1.079 GB, free: 11.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/1.227, allocations: 169 kB / 1.079 GB, free: 11.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.69, allocations: 2.25 kB / 1.079 GB, free: 11.48 MB / 0.698 GB