Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 121.9 kB / 17.84 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00224/0.00224, allocations: 206.1 kB / 18.79 MB, free: 4.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 230.4 MB / 250 MB, free: 9.023 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 71.83 kB / 366.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3214, allocations: 53.31 MB / 420.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005576/0.327, allocations: 3.721 MB / 423.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.3295, allocations: 1.091 MB / 425 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.3298, allocations: 19.88 kB / 425 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.3301, allocations: 111.1 kB / 425.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007568/0.3308, allocations: 230.6 kB / 425.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.3312, allocations: 159.7 kB / 425.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.3322, allocations: 0.9728 MB / 426.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.3328, allocations: 455 kB / 426.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.3334, allocations: 418.6 kB / 427.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007162/0.3341, allocations: 0.498 MB / 427.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.3343, allocations: 104 kB / 427.9 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.3345, allocations: 104 kB / 428 MB, free: 392 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.3348, allocations: 287.1 kB / 428.3 MB, free: 104 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005012/0.3353, allocations: 481.9 kB / 428.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.3367, allocations: 1.303 MB / 430.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3367, allocations: 0 / 430.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3367, allocations: 0 / 430.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.3367, allocations: 4 kB / 430.1 MB, free: 14.32 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002313/0.339, allocations: 1.204 MB / 431.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3391, allocations: 8.031 kB / 431.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.3392, allocations: 118.7 kB / 431.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.3396, allocations: 128.3 kB / 431.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/0.3406, allocations: 0.6649 MB / 432.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.3407, allocations: 45.31 kB / 432.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3408, allocations: 64 kB / 432.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3423, allocations: 0.9228 MB / 433.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.3423, allocations: 0 / 433.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.3424, allocations: 35.92 kB / 433.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/0.3424, allocations: 33.31 kB / 433.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3438, allocations: 0.7936 MB / 434.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.3478, allocations: 2.788 MB / 436.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3488, allocations: 0.7153 MB / 437.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.3494, allocations: 313 kB / 437.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.3495, allocations: 4.328 kB / 437.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006554/0.3501, allocations: 392.9 kB / 438.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.3501, allocations: 0 / 438.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002972/0.3531, allocations: 1.218 MB / 439.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3532, allocations: 114.6 kB / 439.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/0.354, allocations: 0.5918 MB / 440.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.354, allocations: 37.7 kB / 440.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.3544, allocations: 368.6 kB / 440.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.3545, allocations: 142.8 kB / 440.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3547, allocations: 90.25 kB / 440.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3549, allocations: 370.8 kB / 441.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.3553, allocations: 213 kB / 441.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3558, allocations: 373.6 kB / 441.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.3567, allocations: 0.5705 MB / 442.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3567, allocations: 4 kB / 442.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001372/0.358, allocations: 0.7434 MB / 443.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3581, allocations: 8 kB / 443.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3581, allocations: 4 kB / 443.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.3586, allocations: 213.1 kB / 443.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.3589, allocations: 71.89 kB / 443.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.3627, allocations: 3.029 MB / 446.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.3632, allocations: 67.77 kB / 446.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.3632, allocations: 20 kB / 446.5 MB, free: 13.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005818/0.3638, allocations: 321.6 kB / 446.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3639, allocations: 59.62 kB / 446.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.364, allocations: 73.42 kB / 446.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.364, allocations: 4 kB / 446.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.364, allocations: 4 kB / 447 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.364, allocations: 3.984 kB / 447 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.3668, allocations: 1.741 MB / 448.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3668, allocations: 0 / 448.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.367, allocations: 51.91 kB / 448.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/0.3675, allocations: 199.3 kB / 448.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.3675, allocations: 11.94 kB / 449 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.3708, allocations: 2.912 MB / 451.9 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.3708, allocations: 7.938 kB / 451.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.3727, allocations: 1.143 MB / 453 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.373, allocations: 196.7 kB / 453.2 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.3731, allocations: 12 kB / 453.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.3733, allocations: 23.97 kB / 453.2 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3735, allocations: 47.72 kB / 453.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3735, allocations: 15.98 kB / 453.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005607/0.3741, allocations: 430.8 kB / 453.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3741, allocations: 0 / 453.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007533/0.3748, allocations: 207.5 kB / 453.9 MB, free: 5.551 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/0.377, allocations: 1.698 MB / 455.6 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.3783, allocations: 0.7091 MB / 456.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3783, allocations: 0 / 456.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006847/0.379, allocations: 475.5 kB / 456.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.3797, allocations: 161 kB / 457 MB, free: 2.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.3893, allocations: 6.639 MB / 463.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.39, allocations: 1.082 MB / 464.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.3903, allocations: 108.8 kB / 464.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.3906, allocations: 243.4 kB / 465 MB, free: 10.16 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3906, allocations: 0 / 465 MB, free: 10.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05464/0.4453, allocations: 16.87 MB / 481.9 MB, free: 9.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.95, allocations: 18.53 kB / 481.9 MB, free: 9.652 MB / 398.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)