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.001745/0.001745, allocations: 117.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 200.7 kB / 18.74 MB, free: 4.309 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.478/1.478, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.001904/0.001904, allocations: 67.89 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2735, allocations: 50.54 MB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005719/0.2792, allocations: 3.705 MB / 412.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.2816, allocations: 1.083 MB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.282, allocations: 15.94 kB / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.2823, allocations: 107.1 kB / 414 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008315/0.2832, allocations: 234.7 kB / 414.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2836, allocations: 159.6 kB / 414.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.2848, allocations: 0.9612 MB / 415.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.2857, allocations: 0.6082 MB / 416 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.2863, allocations: 422.5 kB / 416.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.2871, allocations: 494.1 kB / 416.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.2872, allocations: 104 kB / 416.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.2875, allocations: 104 kB / 417 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.2878, allocations: 287.1 kB / 417.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005339/0.2883, allocations: 481.8 kB / 417.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.2899, allocations: 1.307 MB / 419.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2899, allocations: 0 / 419.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2899, allocations: 0 / 419.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.2899, allocations: 0 / 419.1 MB, free: 7.262 MB / 334.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.002473/0.2924, allocations: 1.196 MB / 420.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2925, allocations: 12.03 kB / 420.3 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.2926, allocations: 110.7 kB / 420.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.2931, allocations: 136.3 kB / 420.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009942/0.2941, allocations: 0.6648 MB / 421.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.2941, allocations: 49.31 kB / 421.3 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.2943, allocations: 71.97 kB / 421.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.2959, allocations: 0.9072 MB / 422.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.2959, allocations: 3.984 kB / 422.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.296, allocations: 32 kB / 422.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.296, allocations: 29.25 kB / 422.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.2975, allocations: 0.7974 MB / 423.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.3017, allocations: 2.796 MB / 425.9 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.3027, allocations: 0.7392 MB / 426.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.3033, allocations: 341.2 kB / 427 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.3033, allocations: 4.328 kB / 427 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006404/0.304, allocations: 385.8 kB / 427.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.304, allocations: 0 / 427.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002954/0.3069, allocations: 1.229 MB / 428.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.3071, allocations: 122.6 kB / 428.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/0.3079, allocations: 0.584 MB / 429.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.3079, allocations: 37.69 kB / 429.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.3083, allocations: 364.6 kB / 429.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.3084, allocations: 146.8 kB / 429.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.3086, allocations: 86.25 kB / 429.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.3088, allocations: 370.8 kB / 430.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.3092, allocations: 224.9 kB / 430.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.3097, allocations: 361.7 kB / 430.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/0.3107, allocations: 0.5705 MB / 431.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3107, allocations: 0 / 431.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001409/0.3121, allocations: 0.7551 MB / 432.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3121, allocations: 8 kB / 432.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3121, allocations: 4 kB / 432.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.3127, allocations: 208.3 kB / 432.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.313, allocations: 75.89 kB / 432.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.3167, allocations: 3.033 MB / 435.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.3171, allocations: 55.8 kB / 435.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.3172, allocations: 20 kB / 435.6 MB, free: 6.125 MB / 350.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.0005146/0.3177, allocations: 333.7 kB / 435.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.3178, allocations: 59.62 kB / 436 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.318, allocations: 69.44 kB / 436 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.318, allocations: 4 kB / 436 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.318, allocations: 7.984 kB / 436 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.318, allocations: 0 / 436 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.3212, allocations: 1.752 MB / 437.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3212, allocations: 0 / 437.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.3215, allocations: 47.91 kB / 437.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004743/0.322, allocations: 192.7 kB / 438 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.322, allocations: 15.94 kB / 438 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/0.3255, allocations: 2.919 MB / 441 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3255, allocations: 3.938 kB / 441 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.3274, allocations: 1.147 MB / 442.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.3277, allocations: 192.7 kB / 442.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.3278, allocations: 12 kB / 442.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.3281, allocations: 23.97 kB / 442.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3283, allocations: 47.91 kB / 442.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.3283, allocations: 19.98 kB / 442.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005645/0.3289, allocations: 426.8 kB / 442.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.3289, allocations: 0 / 442.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007787/0.3297, allocations: 211.5 kB / 443 MB, free: 14.41 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.002311/0.332, allocations: 1.714 MB / 444.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.3334, allocations: 0.7325 MB / 445.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3334, allocations: 3.938 kB / 445.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007383/0.3341, allocations: 483.2 kB / 445.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.3348, allocations: 150.4 kB / 446.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009726/0.3446, allocations: 6.643 MB / 452.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/0.3454, allocations: 1.078 MB / 453.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.3457, allocations: 100.8 kB / 453.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.3461, allocations: 247.4 kB / 454.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3461, allocations: 0 / 454.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05032/0.3964, allocations: 16.7 MB / 470.8 MB, free: 2.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.75, allocations: 20.19 kB / 470.9 MB, free: 2.648 MB / 382.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)