Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_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.424/2.424, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001509/0.001508, allocations: 186 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.072/2.072, allocations: 205.3 MB / 0.5662 GB, free: 0.625 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.001046/0.001046, allocations: 93.77 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.281e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.933/1.143, allocations: 164.8 MB / 1.045 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/1.144, allocations: 95.8 kB / 1.045 GB, free: 8.371 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.08173/1.226, allocations: 20 MB / 1.065 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.664e-06/1.226, allocations: 0 / 1.065 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.285e-05/1.226, allocations: 8 kB / 1.065 GB, free: 7.898 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.001308/1.227, allocations: 0.577 MB / 1.065 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.227, allocations: 8.031 kB / 1.065 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/1.229, allocations: 119.9 kB / 1.065 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/1.229, allocations: 272.3 kB / 1.066 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.229, allocations: 8 kB / 1.066 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/1.229, allocations: 12 kB / 1.066 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006826/1.23, allocations: 260.8 kB / 1.066 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/1.231, allocations: 355.7 kB / 1.066 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.231, allocations: 7.875 kB / 1.066 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/1.231, allocations: 3.984 kB / 1.066 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.587e-05/1.231, allocations: 27.98 kB / 1.066 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/1.235, allocations: 2.002 MB / 1.068 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/1.236, allocations: 326.6 kB / 1.069 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/1.236, allocations: 169.5 kB / 1.069 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/1.236, allocations: 85.3 kB / 1.069 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.237, allocations: 42.12 kB / 1.069 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.266e-06/1.237, allocations: 4 kB / 1.069 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.003318/1.24, allocations: 0.8744 MB / 1.07 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/1.24, allocations: 81.11 kB / 1.07 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/1.24, allocations: 199.4 kB / 1.07 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/1.24, allocations: 25.7 kB / 1.07 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/1.24, allocations: 180.3 kB / 1.07 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/1.241, allocations: 112.7 kB / 1.07 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/1.241, allocations: 3.938 kB / 1.07 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.241, allocations: 341.1 kB / 1.071 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/1.241, allocations: 154.9 kB / 1.071 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/1.242, allocations: 264.8 kB / 1.071 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/1.242, allocations: 222.1 kB / 1.071 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.242, allocations: 0 / 1.071 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001769/1.244, allocations: 0.5785 MB / 1.072 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005457/1.245, allocations: 1.229 MB / 1.073 GB, free: 32 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.245, allocations: 4 kB / 1.073 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/1.245, allocations: 127.1 kB / 1.073 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/1.246, allocations: 103.1 kB / 1.073 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/1.25, allocations: 3.834 MB / 1.077 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/1.251, allocations: 39.89 kB / 1.077 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/1.251, allocations: 16.16 kB / 1.077 GB, free: 11.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.251, allocations: 4 kB / 1.077 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001636/1.253, allocations: 0.5183 MB / 1.078 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.253, allocations: 4 kB / 1.078 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/1.253, allocations: 122.6 kB / 1.078 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/1.254, allocations: 103.1 kB / 1.078 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009176/1.255, allocations: 1.113 MB / 1.079 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/1.255, allocations: 36.14 kB / 1.079 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/1.255, allocations: 15.44 kB / 1.079 GB, free: 10.07 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.0002499/1.256, allocations: 122.4 kB / 1.079 GB, free: 9.941 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001455/1.257, allocations: 498.7 kB / 1.079 GB, free: 9.555 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.257, allocations: 31.28 kB / 1.079 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/1.259, allocations: 0.5249 MB / 1.08 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.259, allocations: 4 kB / 1.08 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.259, allocations: 4 kB / 1.08 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.259, allocations: 0 / 1.08 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/1.262, allocations: 1.206 MB / 1.081 GB, free: 8.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.262, allocations: 0 / 1.081 GB, free: 8.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/1.263, allocations: 72.14 kB / 1.081 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000647/1.263, allocations: 148 kB / 1.081 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/1.263, allocations: 0 / 1.081 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/1.268, allocations: 3.857 MB / 1.085 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/1.268, allocations: 7.938 kB / 1.085 GB, free: 3.918 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/1.269, allocations: 0.8028 MB / 1.086 GB, free: 3.137 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/1.27, allocations: 138.3 kB / 1.086 GB, free: 2.996 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/1.27, allocations: 4 kB / 1.086 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/1.27, allocations: 35.95 kB / 1.086 GB, free: 2.957 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.27, allocations: 35.22 kB / 1.086 GB, free: 2.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/1.27, allocations: 8 kB / 1.086 GB, free: 2.922 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002127/1.271, allocations: 163.1 kB / 1.086 GB, free: 2.789 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.271, allocations: 0 / 1.086 GB, free: 2.789 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001098/1.272, allocations: 151.9 kB / 1.086 GB, free: 2.641 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.002182/1.274, allocations: 2.014 MB / 1.088 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002238/1.276, allocations: 1.024 MB / 1.089 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.276, allocations: 0 / 1.089 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008905/1.277, allocations: 439.9 kB / 1.09 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/1.278, allocations: 47.53 kB / 1.09 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/1.28, allocations: 0.6265 MB / 1.09 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/1.28, allocations: 0.8136 MB / 1.091 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006452/1.281, allocations: 119.1 kB / 1.091 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/1.281, allocations: 87.78 kB / 1.091 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.281, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05164/1.333, allocations: 7.869 MB / 1.099 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/1.333, allocations: 161.3 kB / 1.099 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/4.014, allocations: 0 / 1.099 GB, free: 5.742 MB / 0.7136 GB