Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",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.216/2.216, allocations: 248.7 MB / 256.2 MB, free: 7.105 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.002116/0.002116, allocations: 178.3 kB / 315.4 MB, free: 4.004 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.1/2.1, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 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.001585/0.001585, allocations: 98.08 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.292e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1978, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9004/1.098, allocations: 166.3 MB / 1.047 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/1.099, allocations: 92.5 kB / 1.047 GB, free: 6.93 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.08264/1.181, allocations: 20.27 MB / 1.066 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.512e-06/1.181, allocations: 0 / 1.066 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.954e-05/1.181, allocations: 15.94 kB / 1.066 GB, free: 6.223 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001225/1.183, allocations: 0.5641 MB / 1.067 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.183, allocations: 8.562 kB / 1.067 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/1.184, allocations: 123.9 kB / 1.067 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/1.185, allocations: 274.9 kB / 1.067 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/1.185, allocations: 8 kB / 1.067 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/1.185, allocations: 12 kB / 1.067 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006818/1.186, allocations: 264 kB / 1.068 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/1.186, allocations: 354.7 kB / 1.068 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/1.186, allocations: 3.938 kB / 1.068 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/1.187, allocations: 0 / 1.068 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.411e-05/1.187, allocations: 24.55 kB / 1.068 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/1.19, allocations: 2.007 MB / 1.07 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/1.191, allocations: 318.7 kB / 1.07 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/1.192, allocations: 173.4 kB / 1.07 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/1.192, allocations: 89.28 kB / 1.071 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.192, allocations: 38.06 kB / 1.071 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.187e-06/1.192, allocations: 0 / 1.071 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.003339/1.195, allocations: 0.875 MB / 1.071 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/1.195, allocations: 81.11 kB / 1.071 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/1.196, allocations: 190.6 kB / 1.072 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/1.196, allocations: 25.7 kB / 1.072 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.196, allocations: 181.3 kB / 1.072 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.196, allocations: 119.4 kB / 1.072 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/1.196, allocations: 0 / 1.072 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.196, allocations: 341.3 kB / 1.072 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/1.197, allocations: 155.6 kB / 1.072 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/1.197, allocations: 261.4 kB / 1.073 GB, free: 292 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/1.198, allocations: 224.2 kB / 1.073 GB, free: 136 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.198, allocations: 0 / 1.073 GB, free: 136 kB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001763/1.2, allocations: 0.5852 MB / 1.073 GB, free: 15.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005178/1.2, allocations: 1.233 MB / 1.075 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.2, allocations: 7.984 kB / 1.075 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/1.201, allocations: 130.7 kB / 1.075 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/1.202, allocations: 99.3 kB / 1.075 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/1.206, allocations: 3.825 MB / 1.079 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/1.206, allocations: 35.86 kB / 1.079 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/1.206, allocations: 19.31 kB / 1.079 GB, free: 10.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.206, allocations: 4 kB / 1.079 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001627/1.208, allocations: 0.5176 MB / 1.079 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.208, allocations: 0 / 1.079 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/1.209, allocations: 130.3 kB / 1.079 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/1.209, allocations: 102.9 kB / 1.079 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008816/1.21, allocations: 1.11 MB / 1.081 GB, free: 8.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/1.211, allocations: 31.95 kB / 1.081 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/1.211, allocations: 15.25 kB / 1.081 GB, free: 8.41 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0002269/1.211, allocations: 117 kB / 1.081 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001428/1.213, allocations: 498.6 kB / 1.081 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/1.213, allocations: 23.72 kB / 1.081 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/1.214, allocations: 0.5345 MB / 1.082 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.214, allocations: 7.984 kB / 1.082 GB, free: 7.465 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.214, allocations: 8 kB / 1.082 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.214, allocations: 0 / 1.082 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/1.217, allocations: 1.195 MB / 1.083 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/1.217, allocations: 7.984 kB / 1.083 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/1.218, allocations: 63.34 kB / 1.083 GB, free: 6.328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/1.219, allocations: 144.3 kB / 1.083 GB, free: 6.199 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/1.219, allocations: 4 kB / 1.083 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/1.223, allocations: 3.861 MB / 1.087 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/1.223, allocations: 7.938 kB / 1.087 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/1.224, allocations: 0.8066 MB / 1.088 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/1.225, allocations: 138.4 kB / 1.088 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/1.225, allocations: 4 kB / 1.088 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/1.225, allocations: 31.95 kB / 1.088 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.226, allocations: 35.03 kB / 1.088 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/1.226, allocations: 11.19 kB / 1.088 GB, free: 1.266 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002169/1.226, allocations: 156.9 kB / 1.088 GB, free: 1.137 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.226, allocations: 0 / 1.088 GB, free: 1.137 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00114/1.227, allocations: 158 kB / 1.088 GB, free: 0.9844 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 (31): * Single equations (assignments): 27 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00261/1.23, allocations: 2.015 MB / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002426/1.232, allocations: 1.025 MB / 1.091 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.232, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.233, allocations: 432.7 kB / 1.092 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/1.234, allocations: 53.67 kB / 1.092 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/1.236, allocations: 0.6244 MB / 1.092 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/1.237, allocations: 0.8116 MB / 1.093 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007193/1.237, allocations: 131.1 kB / 1.093 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/1.238, allocations: 89.59 kB / 1.093 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/1.238, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.057/1.295, allocations: 7.867 MB / 1.101 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004572/1.295, allocations: 182.3 kB / 1.101 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.906, allocations: 0 / 1.101 GB, free: 4.07 MB / 0.7136 GB