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.295/2.295, allocations: 248.5 MB / 261.1 MB, free: 6.02 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.001386/0.001386, allocations: 176.8 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 2.011/2.011, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001055/0.001054, allocations: 115.3 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.745e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9251/1.125, allocations: 164.6 MB / 1.051 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/1.126, allocations: 96.62 kB / 1.051 GB, free: 5.082 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.08218/1.208, allocations: 20.06 MB / 1.071 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/1.208, allocations: 0 / 1.071 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.656e-05/1.208, allocations: 4 kB / 1.071 GB, free: 4.43 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.001248/1.209, allocations: 0.5777 MB / 1.072 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/1.209, allocations: 12.03 kB / 1.072 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/1.209, allocations: 59.59 kB / 1.072 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/1.211, allocations: 119.9 kB / 1.072 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/1.211, allocations: 279.8 kB / 1.072 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/1.211, allocations: 19.92 kB / 1.072 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/1.211, allocations: 18.56 kB / 1.072 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008841/1.212, allocations: 385.7 kB / 1.072 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/1.212, allocations: 0 / 1.072 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/1.212, allocations: 18.11 kB / 1.073 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/1.213, allocations: 31.91 kB / 1.073 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008207/1.213, allocations: 316.3 kB / 1.073 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/1.217, allocations: 2.051 MB / 1.075 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/1.218, allocations: 336.2 kB / 1.075 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/1.219, allocations: 187.5 kB / 1.075 GB, free: 364 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/1.219, allocations: 85.3 kB / 1.075 GB, free: 260 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.219, allocations: 34.25 kB / 1.075 GB, free: 220 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.577e-06/1.219, allocations: 0 / 1.075 GB, free: 220 kB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.007864/1.227, allocations: 1.458 MB / 1.077 GB, free: 14.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/1.227, allocations: 81.11 kB / 1.077 GB, free: 14.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/1.227, allocations: 211 kB / 1.077 GB, free: 14.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/1.228, allocations: 32.7 kB / 1.077 GB, free: 14.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.228, allocations: 183.7 kB / 1.077 GB, free: 14.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/1.228, allocations: 112.7 kB / 1.077 GB, free: 14.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/1.228, allocations: 10.38 kB / 1.077 GB, free: 14.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.228, allocations: 336.8 kB / 1.078 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/1.229, allocations: 167.6 kB / 1.078 GB, free: 13.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/1.229, allocations: 282.6 kB / 1.078 GB, free: 13.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/1.23, allocations: 210.2 kB / 1.078 GB, free: 13.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.23, allocations: 7.984 kB / 1.078 GB, free: 13.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001776/1.231, allocations: 0.5899 MB / 1.079 GB, free: 13.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005969/1.232, allocations: 1.216 MB / 1.08 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.232, allocations: 7.984 kB / 1.08 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000815/1.233, allocations: 146.5 kB / 1.08 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008069/1.234, allocations: 103.4 kB / 1.08 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004269/1.238, allocations: 3.934 MB / 1.084 GB, free: 7.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/1.239, allocations: 49.2 kB / 1.084 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/1.239, allocations: 15.5 kB / 1.084 GB, free: 7.457 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.239, allocations: 4 kB / 1.084 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001646/1.24, allocations: 0.5572 MB / 1.085 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.24, allocations: 4 kB / 1.085 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/1.241, allocations: 139.2 kB / 1.085 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/1.242, allocations: 102.8 kB / 1.085 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009185/1.243, allocations: 1.106 MB / 1.086 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/1.243, allocations: 39.77 kB / 1.086 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/1.244, allocations: 17.75 kB / 1.086 GB, free: 5.645 MB / 0.698 GB 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.0002051/1.244, allocations: 130.9 kB / 1.086 GB, free: 5.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/1.244, allocations: 27.62 kB / 1.086 GB, free: 5.492 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/1.245, allocations: 0.5534 MB / 1.087 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/1.246, allocations: 7.953 kB / 1.087 GB, free: 5.082 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.246, allocations: 4 kB / 1.087 GB, free: 5.078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.246, allocations: 3.984 kB / 1.087 GB, free: 5.074 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/1.249, allocations: 1.255 MB / 1.088 GB, free: 3.961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.249, allocations: 7.953 kB / 1.088 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/1.249, allocations: 67.39 kB / 1.088 GB, free: 3.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008032/1.25, allocations: 159.4 kB / 1.088 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/1.25, allocations: 7.938 kB / 1.088 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006155/1.257, allocations: 3.956 MB / 1.092 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/1.257, allocations: 7.969 kB / 1.092 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/1.259, allocations: 0.808 MB / 1.093 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/1.26, allocations: 153.5 kB / 1.093 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.26, allocations: 7.188 kB / 1.093 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009507/1.261, allocations: 38.59 kB / 1.093 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.261, allocations: 35.08 kB / 1.093 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/1.261, allocations: 14.88 kB / 1.093 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004613/1.262, allocations: 167.8 kB / 1.094 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.01e-07/1.262, allocations: 0 / 1.094 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002713/1.265, allocations: 177.8 kB / 1.094 GB, free: 14.39 MB / 0.7136 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.00439/1.269, allocations: 2.026 MB / 1.096 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003774/1.273, allocations: 1.09 MB / 1.097 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.273, allocations: 1.312 kB / 1.097 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.274, allocations: 465.1 kB / 1.097 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/1.275, allocations: 45.59 kB / 1.097 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/1.277, allocations: 0.6699 MB / 1.098 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/1.278, allocations: 0.8106 MB / 1.099 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006988/1.278, allocations: 126.8 kB / 1.099 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/1.279, allocations: 86.28 kB / 1.099 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of SimCode: time 1.322e-06/1.279, allocations: 4 kB / 1.099 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/1.318, allocations: 8.498 MB / 1.107 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/1.318, allocations: 204.6 kB / 1.107 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/4.032, allocations: 3.938 kB / 1.107 GB, free: 0.8867 MB / 0.7136 GB