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.341/2.341, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.002066/0.002066, allocations: 178.1 kB / 315.4 MB, free: 4.008 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.165/2.165, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.001052/0.001052, allocations: 90.47 kB / 0.6704 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.87e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1971, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.934/1.131, allocations: 162.2 MB / 1.043 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/1.131, allocations: 87.75 kB / 1.043 GB, free: 10.87 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.07291/1.204, allocations: 17.82 MB / 1.06 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/1.204, allocations: 0 / 1.06 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.418e-05/1.204, allocations: 8 kB / 1.06 GB, free: 12.16 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.001032/1.206, allocations: 0.5235 MB / 1.061 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.206, allocations: 8.031 kB / 1.061 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/1.207, allocations: 107.6 kB / 1.061 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/1.208, allocations: 262.3 kB / 1.061 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.208, allocations: 8 kB / 1.061 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/1.208, allocations: 8 kB / 1.061 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006234/1.208, allocations: 232.8 kB / 1.061 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/1.209, allocations: 317.9 kB / 1.061 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/1.209, allocations: 3.938 kB / 1.061 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/1.209, allocations: 0 / 1.061 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/1.209, allocations: 27.55 kB / 1.061 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/1.212, allocations: 1.689 MB / 1.063 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/1.213, allocations: 310.8 kB / 1.063 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/1.213, allocations: 96.38 kB / 1.063 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/1.214, allocations: 85.09 kB / 1.064 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/1.214, allocations: 42.19 kB / 1.064 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.106e-06/1.214, allocations: 0 / 1.064 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002693/1.216, allocations: 0.6794 MB / 1.064 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/1.216, allocations: 85.23 kB / 1.064 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/1.217, allocations: 185.3 kB / 1.065 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/1.217, allocations: 25.7 kB / 1.065 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/1.217, allocations: 165.4 kB / 1.065 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.131e-05/1.217, allocations: 72.92 kB / 1.065 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/1.217, allocations: 0 / 1.065 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.217, allocations: 336.8 kB / 1.065 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/1.218, allocations: 122.3 kB / 1.065 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/1.218, allocations: 202.8 kB / 1.065 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/1.219, allocations: 193.8 kB / 1.066 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.219, allocations: 4 kB / 1.066 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001662/1.22, allocations: 0.496 MB / 1.066 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.22, allocations: 8 kB / 1.066 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.22, allocations: 4 kB / 1.066 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/1.221, allocations: 134.8 kB / 1.066 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/1.221, allocations: 67.3 kB / 1.066 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003951/1.225, allocations: 3.841 MB / 1.07 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/1.226, allocations: 12.02 kB / 1.07 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/1.226, allocations: 15.98 kB / 1.07 GB, free: 2.324 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] 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.0002326/1.226, allocations: 124.9 kB / 1.07 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001412/1.228, allocations: 419.8 kB / 1.071 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/1.228, allocations: 23.7 kB / 1.071 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/1.229, allocations: 469.4 kB / 1.071 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.229, allocations: 7.953 kB / 1.071 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.229, allocations: 0 / 1.071 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/1.229, allocations: 4 kB / 1.071 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/1.232, allocations: 0.9499 MB / 1.072 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.232, allocations: 4 kB / 1.072 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/1.232, allocations: 32.02 kB / 1.072 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/1.233, allocations: 134.1 kB / 1.072 GB, free: 484 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/1.233, allocations: 4 kB / 1.072 GB, free: 480 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/1.237, allocations: 3.841 MB / 1.076 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/1.237, allocations: 4 kB / 1.076 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/1.238, allocations: 0.7371 MB / 1.077 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/1.239, allocations: 121.4 kB / 1.077 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/1.239, allocations: 4 kB / 1.077 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/1.239, allocations: 19.89 kB / 1.077 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/1.239, allocations: 31.48 kB / 1.077 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/1.239, allocations: 11.69 kB / 1.077 GB, free: 11.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001962/1.239, allocations: 148.5 kB / 1.077 GB, free: 11.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.239, allocations: 0 / 1.077 GB, free: 11.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008082/1.24, allocations: 87.94 kB / 1.077 GB, free: 11.42 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.002229/1.243, allocations: 1.922 MB / 1.079 GB, free: 9.512 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0013/1.244, allocations: 0.5232 MB / 1.079 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.244, allocations: 0 / 1.079 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000773/1.245, allocations: 378.8 kB / 1.08 GB, free: 8.723 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/1.245, allocations: 31.3 kB / 1.08 GB, free: 8.699 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/1.247, allocations: 0.5228 MB / 1.08 GB, free: 8.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/1.247, allocations: 0.7897 MB / 1.081 GB, free: 7.375 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003521/1.248, allocations: 58.06 kB / 1.081 GB, free: 7.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/1.248, allocations: 74.53 kB / 1.081 GB, free: 7.293 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.248, allocations: 4 kB / 1.081 GB, free: 7.289 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05269/1.301, allocations: 5.645 MB / 1.087 GB, free: 1.672 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004419/1.301, allocations: 153 kB / 1.087 GB, free: 1.469 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.76, allocations: 0 / 1.087 GB, free: 1.469 MB / 0.698 GB