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.247/2.247, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 176.2 kB / 325.5 MB, free: 2.914 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.48/2.48, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001074/0.001074, allocations: 83.56 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004965, allocations: 8.781 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2154, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9753/1.191, allocations: 164.6 MB / 1.06 GB, free: 65.52 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.191, allocations: 101.4 kB / 1.06 GB, free: 65.52 MB / 0.698 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.08271/1.274, allocations: 20.21 MB / 1.079 GB, free: 63.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.274, allocations: 0 / 1.079 GB, free: 63.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.73e-05/1.274, allocations: 5.375 kB / 1.079 GB, free: 63.63 MB / 0.698 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.001549/1.276, allocations: 0.5981 MB / 1.08 GB, free: 63.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.276, allocations: 9.438 kB / 1.08 GB, free: 63.15 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/1.276, allocations: 65.95 kB / 1.08 GB, free: 63.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/1.277, allocations: 129.6 kB / 1.08 GB, free: 63.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/1.278, allocations: 262.3 kB / 1.08 GB, free: 62.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/1.278, allocations: 20.34 kB / 1.08 GB, free: 62.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/1.278, allocations: 25.16 kB / 1.081 GB, free: 62.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/1.279, allocations: 406.2 kB / 1.081 GB, free: 62.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/1.279, allocations: 4 kB / 1.081 GB, free: 62.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/1.279, allocations: 10.75 kB / 1.081 GB, free: 62.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.048e-05/1.28, allocations: 35.55 kB / 1.081 GB, free: 62.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/1.281, allocations: 357.8 kB / 1.081 GB, free: 62.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/1.284, allocations: 2.051 MB / 1.083 GB, free: 61.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.286, allocations: 354.9 kB / 1.084 GB, free: 61.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/1.286, allocations: 88.27 kB / 1.084 GB, free: 61.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.286, allocations: 39.88 kB / 1.084 GB, free: 61.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/1.286, allocations: 0 / 1.084 GB, free: 61.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.008888/1.295, allocations: 1.759 MB / 1.085 GB, free: 60.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.295, allocations: 86.69 kB / 1.086 GB, free: 60.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/1.295, allocations: 215 kB / 1.086 GB, free: 60.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/1.295, allocations: 32.64 kB / 1.086 GB, free: 60.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.296, allocations: 183.8 kB / 1.086 GB, free: 60.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.296, allocations: 119.3 kB / 1.086 GB, free: 60.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/1.296, allocations: 3.375 kB / 1.086 GB, free: 60.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/1.296, allocations: 336.5 kB / 1.086 GB, free: 60.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/1.296, allocations: 212 kB / 1.087 GB, free: 60 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/1.297, allocations: 310.1 kB / 1.087 GB, free: 59.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/1.298, allocations: 253.5 kB / 1.087 GB, free: 59.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/1.298, allocations: 3.938 kB / 1.087 GB, free: 59.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002118/1.3, allocations: 0.6799 MB / 1.088 GB, free: 59.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002863/1.301, allocations: 1.131 MB / 1.089 GB, free: 58.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.301, allocations: 3.969 kB / 1.089 GB, free: 58.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000807/1.301, allocations: 150.6 kB / 1.089 GB, free: 58.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/1.302, allocations: 91.12 kB / 1.089 GB, free: 58.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/1.306, allocations: 3.978 MB / 1.093 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/1.306, allocations: 35.09 kB / 1.093 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/1.306, allocations: 21.84 kB / 1.093 GB, free: 54.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.306, allocations: 4.125 kB / 1.093 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001961/1.308, allocations: 0.6385 MB / 1.094 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.308, allocations: 5.969 kB / 1.094 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/1.309, allocations: 148 kB / 1.094 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/1.31, allocations: 93.66 kB / 1.094 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000627/1.31, allocations: 1.109 MB / 1.095 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/1.311, allocations: 40.34 kB / 1.095 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/1.311, allocations: 12.53 kB / 1.095 GB, free: 53.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0003458/1.311, allocations: 260.7 kB / 1.095 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/1.312, allocations: 28.23 kB / 1.095 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/1.314, allocations: 0.6316 MB / 1.096 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.579e-06/1.314, allocations: 3.906 kB / 1.096 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.314, allocations: 3.906 kB / 1.096 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.314, allocations: 9.484 kB / 1.096 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/1.317, allocations: 1.23 MB / 1.097 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.317, allocations: 3.906 kB / 1.097 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/1.317, allocations: 70.31 kB / 1.097 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007148/1.318, allocations: 151.9 kB / 1.097 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/1.318, allocations: 7.781 kB / 1.097 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003331/1.322, allocations: 3.999 MB / 1.101 GB, free: 49.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.322, allocations: 7.891 kB / 1.101 GB, free: 49.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/1.324, allocations: 0.8805 MB / 1.102 GB, free: 48.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/1.324, allocations: 145.4 kB / 1.102 GB, free: 48.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/1.324, allocations: 15.5 kB / 1.102 GB, free: 48.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/1.325, allocations: 32.64 kB / 1.102 GB, free: 48.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.325, allocations: 41.14 kB / 1.102 GB, free: 48.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.325, allocations: 11.06 kB / 1.102 GB, free: 48.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000241/1.325, allocations: 169 kB / 1.103 GB, free: 48.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.325, allocations: 0 / 1.103 GB, free: 48.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001116/1.326, allocations: 184.9 kB / 1.103 GB, free: 48.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.002386/1.329, allocations: 2.022 MB / 1.105 GB, free: 47.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003167/1.332, allocations: 1.227 MB / 1.106 GB, free: 46.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.332, allocations: 8.312 kB / 1.106 GB, free: 46.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/1.333, allocations: 495 kB / 1.106 GB, free: 46.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/1.334, allocations: 53.84 kB / 1.106 GB, free: 46.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/1.34, allocations: 4.088 MB / 1.11 GB, free: 43.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/1.34, allocations: 0.8189 MB / 1.111 GB, free: 43.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006279/1.341, allocations: 120.5 kB / 1.111 GB, free: 43.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/1.341, allocations: 89.86 kB / 1.111 GB, free: 43.06 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/1.341, allocations: 0 / 1.111 GB, free: 43.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/1.385, allocations: 8.197 MB / 1.119 GB, free: 42.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/1.385, allocations: 230.1 kB / 1.12 GB, free: 42.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/4.158, allocations: 0 / 1.12 GB, free: 42.27 MB / 0.698 GB