Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.132/2.132, allocations: 251 MB / 265.9 MB, free: 11.68 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.001552/0.001552, allocations: 178.1 kB / 325.5 MB, free: 2.918 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.479/2.479, allocations: 205.4 MB / 0.5764 GB, free: 20.86 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.001155/0.001155, allocations: 103.6 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.0006541, allocations: 16.14 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2168, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9084/1.125, allocations: 162 MB / 1.057 GB, free: 64.88 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.126, allocations: 94.3 kB / 1.057 GB, free: 64.88 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.07506/1.201, allocations: 18.02 MB / 1.075 GB, free: 63.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.524e-06/1.201, allocations: 0 / 1.075 GB, free: 63.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.77e-05/1.201, allocations: 8.188 kB / 1.075 GB, free: 63.18 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001227/1.202, allocations: 0.542 MB / 1.075 GB, free: 62.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.202, allocations: 8.844 kB / 1.075 GB, free: 62.72 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/1.202, allocations: 65.42 kB / 1.075 GB, free: 62.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/1.204, allocations: 105.8 kB / 1.075 GB, free: 62.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/1.205, allocations: 262.8 kB / 1.076 GB, free: 62.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/1.205, allocations: 14.66 kB / 1.076 GB, free: 62.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/1.205, allocations: 15.47 kB / 1.076 GB, free: 62.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008532/1.205, allocations: 347.9 kB / 1.076 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/1.206, allocations: 3.938 kB / 1.076 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/1.206, allocations: 10.25 kB / 1.076 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/1.206, allocations: 20.73 kB / 1.076 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/1.206, allocations: 291.2 kB / 1.076 GB, free: 62.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/1.21, allocations: 1.737 MB / 1.078 GB, free: 61.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/1.211, allocations: 323.7 kB / 1.078 GB, free: 60.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/1.211, allocations: 85.55 kB / 1.078 GB, free: 60.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.211, allocations: 36.2 kB / 1.078 GB, free: 60.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/1.211, allocations: 3.938 kB / 1.078 GB, free: 60.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.004475/1.215, allocations: 0.9836 MB / 1.079 GB, free: 60.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/1.215, allocations: 84.52 kB / 1.08 GB, free: 60.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/1.216, allocations: 200.2 kB / 1.08 GB, free: 60.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/1.216, allocations: 30.77 kB / 1.08 GB, free: 60.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/1.216, allocations: 163.3 kB / 1.08 GB, free: 60.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/1.216, allocations: 84.77 kB / 1.08 GB, free: 60.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/1.216, allocations: 3.5 kB / 1.08 GB, free: 60.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/1.216, allocations: 335.5 kB / 1.08 GB, free: 59.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/1.217, allocations: 130.3 kB / 1.08 GB, free: 59.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/1.217, allocations: 208.3 kB / 1.081 GB, free: 59.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/1.217, allocations: 159.8 kB / 1.081 GB, free: 59.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.217, allocations: 9.391 kB / 1.081 GB, free: 59.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001513/1.219, allocations: 0.5065 MB / 1.081 GB, free: 59.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.219, allocations: 6.25 kB / 1.081 GB, free: 59.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.219, allocations: 5 kB / 1.081 GB, free: 59.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008164/1.22, allocations: 154.6 kB / 1.081 GB, free: 59.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/1.22, allocations: 55.47 kB / 1.081 GB, free: 59.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/1.224, allocations: 3.978 MB / 1.085 GB, free: 56.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/1.224, allocations: 26.27 kB / 1.085 GB, free: 56.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/1.224, allocations: 15.31 kB / 1.085 GB, free: 56.01 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002986/1.225, allocations: 163.4 kB / 1.086 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/1.225, allocations: 22.19 kB / 1.086 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/1.226, allocations: 488.5 kB / 1.086 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.226, allocations: 2.844 kB / 1.086 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.226, allocations: 5.031 kB / 1.086 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.226, allocations: 1.406 kB / 1.086 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/1.229, allocations: 0.9924 MB / 1.087 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.229, allocations: 2.562 kB / 1.087 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/1.229, allocations: 38.83 kB / 1.087 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007092/1.23, allocations: 151.4 kB / 1.087 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/1.23, allocations: 7.625 kB / 1.087 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/1.233, allocations: 3.975 MB / 1.091 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.233, allocations: 2.375 kB / 1.091 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/1.234, allocations: 0.729 MB / 1.092 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/1.235, allocations: 131.4 kB / 1.092 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/1.235, allocations: 4 kB / 1.092 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/1.235, allocations: 24.61 kB / 1.092 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/1.235, allocations: 29.62 kB / 1.092 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/1.235, allocations: 11.36 kB / 1.092 GB, free: 51.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001936/1.235, allocations: 155.5 kB / 1.092 GB, free: 51.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.235, allocations: 3.906 kB / 1.092 GB, free: 51.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008192/1.236, allocations: 97.19 kB / 1.092 GB, free: 51.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001662/1.238, allocations: 1.934 MB / 1.094 GB, free: 49.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00126/1.239, allocations: 0.5678 MB / 1.095 GB, free: 49.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.239, allocations: 0 / 1.095 GB, free: 49.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/1.24, allocations: 405.2 kB / 1.095 GB, free: 48.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/1.241, allocations: 38.2 kB / 1.095 GB, free: 48.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/1.245, allocations: 3.316 MB / 1.098 GB, free: 46.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.245, allocations: 0.7891 MB / 1.099 GB, free: 45.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003163/1.245, allocations: 58.53 kB / 1.099 GB, free: 45.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.246, allocations: 70.23 kB / 1.099 GB, free: 45.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/1.246, allocations: 0 / 1.099 GB, free: 45.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/1.282, allocations: 6.169 MB / 1.105 GB, free: 45.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/1.283, allocations: 223.4 kB / 1.105 GB, free: 45.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.896, allocations: 3.938 kB / 1.105 GB, free: 45.18 MB / 0.698 GB