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.364/2.364, allocations: 248.5 MB / 261.1 MB, free: 6.059 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.001409/0.001408, allocations: 174.6 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.928/1.928, allocations: 205.1 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.001087/0.001087, allocations: 96.41 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.219e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.206, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.103, allocations: 162 MB / 1.049 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.104, allocations: 87.56 kB / 1.049 GB, free: 7.203 MB / 0.6667 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.07594/1.18, allocations: 17.87 MB / 1.066 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/1.18, allocations: 0 / 1.066 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.757e-05/1.18, allocations: 8 kB / 1.066 GB, free: 8.348 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001094/1.181, allocations: 0.5164 MB / 1.067 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/1.181, allocations: 12.03 kB / 1.067 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/1.181, allocations: 63.59 kB / 1.067 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/1.182, allocations: 107.5 kB / 1.067 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/1.183, allocations: 255.5 kB / 1.067 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/1.183, allocations: 18.92 kB / 1.067 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/1.183, allocations: 22.31 kB / 1.067 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008213/1.184, allocations: 338.4 kB / 1.068 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.184, allocations: 0 / 1.068 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/1.184, allocations: 15.05 kB / 1.068 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/1.184, allocations: 16.44 kB / 1.068 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/1.185, allocations: 291.7 kB / 1.068 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003316/1.188, allocations: 1.752 MB / 1.07 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/1.189, allocations: 318.4 kB / 1.07 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/1.189, allocations: 104.4 kB / 1.07 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/1.19, allocations: 93.08 kB / 1.07 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.19, allocations: 30.56 kB / 1.07 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.246e-06/1.19, allocations: 0 / 1.07 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.003774/1.193, allocations: 0.8002 MB / 1.071 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/1.193, allocations: 92.83 kB / 1.071 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/1.194, allocations: 195.4 kB / 1.071 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/1.194, allocations: 29.39 kB / 1.071 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.194, allocations: 161.1 kB / 1.071 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.194, allocations: 88.36 kB / 1.072 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/1.194, allocations: 6.562 kB / 1.072 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.194, allocations: 329.5 kB / 1.072 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/1.195, allocations: 125.3 kB / 1.072 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/1.195, allocations: 211.9 kB / 1.072 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/1.195, allocations: 171.1 kB / 1.072 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.195, allocations: 0 / 1.072 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001566/1.197, allocations: 0.492 MB / 1.073 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/1.197, allocations: 8.938 kB / 1.073 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.197, allocations: 0 / 1.073 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008657/1.198, allocations: 161.5 kB / 1.073 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/1.199, allocations: 55.91 kB / 1.073 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/1.203, allocations: 3.95 MB / 1.077 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/1.203, allocations: 26.7 kB / 1.077 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/1.204, allocations: 8 kB / 1.077 GB, free: 14.07 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 () * 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.0001604/1.204, allocations: 127.8 kB / 1.077 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/1.204, allocations: 23.8 kB / 1.077 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/1.205, allocations: 473.5 kB / 1.078 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.205, allocations: 4 kB / 1.078 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.205, allocations: 0 / 1.078 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.205, allocations: 4 kB / 1.078 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/1.208, allocations: 1.002 MB / 1.078 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.208, allocations: 4.25 kB / 1.079 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/1.208, allocations: 43.88 kB / 1.079 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007632/1.209, allocations: 138.7 kB / 1.079 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/1.209, allocations: 7.812 kB / 1.079 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/1.213, allocations: 3.951 MB / 1.083 GB, free: 8.449 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.213, allocations: 4.031 kB / 1.083 GB, free: 8.445 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.215, allocations: 0.7174 MB / 1.083 GB, free: 7.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/1.215, allocations: 128 kB / 1.083 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/1.215, allocations: 7.562 kB / 1.083 GB, free: 7.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/1.216, allocations: 19.86 kB / 1.083 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/1.216, allocations: 27.67 kB / 1.083 GB, free: 7.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/1.216, allocations: 11.88 kB / 1.083 GB, free: 7.547 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002372/1.216, allocations: 158.9 kB / 1.084 GB, free: 7.414 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.216, allocations: 0 / 1.084 GB, free: 7.414 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007836/1.217, allocations: 106 kB / 1.084 GB, free: 7.32 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 () * 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.00221/1.219, allocations: 1.923 MB / 1.086 GB, free: 5.418 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001378/1.22, allocations: 0.5524 MB / 1.086 GB, free: 4.941 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.221, allocations: 0 / 1.086 GB, free: 4.941 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000827/1.221, allocations: 394.3 kB / 1.086 GB, free: 4.578 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/1.222, allocations: 46.97 kB / 1.087 GB, free: 4.547 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.224, allocations: 0.5472 MB / 1.087 GB, free: 4.027 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/1.224, allocations: 0.7852 MB / 1.088 GB, free: 3.227 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000336/1.224, allocations: 62.02 kB / 1.088 GB, free: 3.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/1.225, allocations: 74.42 kB / 1.088 GB, free: 3.133 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/1.225, allocations: 0 / 1.088 GB, free: 3.133 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/1.256, allocations: 6.212 MB / 1.094 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/1.257, allocations: 189.3 kB / 1.094 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.817, allocations: 0 / 1.094 GB, free: 12.86 MB / 0.7136 GB