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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00163/0.00163, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 204.6 kB / 18.74 MB, free: 4.332 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.432/1.432, allocations: 227.7 MB / 247.2 MB, free: 10.17 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.002282/0.002282, allocations: 59.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.285, allocations: 50.55 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006248/0.2913, allocations: 4.613 MB / 413.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.2941, allocations: 1.293 MB / 415 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.2945, allocations: 27.88 kB / 415 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.2949, allocations: 162.6 kB / 415.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009625/0.2959, allocations: 358 kB / 415.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.2964, allocations: 211.6 kB / 415.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.2983, allocations: 1.631 MB / 417.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.2997, allocations: 1.098 MB / 418.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.3006, allocations: 0.693 MB / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.3017, allocations: 0.8561 MB / 420 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.302, allocations: 176 kB / 420.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.3023, allocations: 184 kB / 420.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.3027, allocations: 478.7 kB / 420.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008739/0.3036, allocations: 0.801 MB / 421.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.3061, allocations: 2.276 MB / 423.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3061, allocations: 0 / 423.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3061, allocations: 0 / 423.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.3061, allocations: 0 / 423.9 MB, free: 2.453 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003344/0.3095, allocations: 1.836 MB / 425.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3095, allocations: 11.97 kB / 425.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002118/0.3098, allocations: 164.8 kB / 425.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/0.3105, allocations: 219.9 kB / 426.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.312, allocations: 1.037 MB / 427.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.3121, allocations: 78.38 kB / 427.2 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.3123, allocations: 107.9 kB / 427.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.3148, allocations: 1.557 MB / 428.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.3149, allocations: 0 / 428.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.315, allocations: 40 kB / 428.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.315, allocations: 50.03 kB / 429 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.3175, allocations: 1.437 MB / 430.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007055/0.3246, allocations: 4.907 MB / 435.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.3264, allocations: 1.45 MB / 436.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3277, allocations: 0.735 MB / 437.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.444e-05/0.3277, allocations: 8.562 kB / 437.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.3288, allocations: 0.6161 MB / 438.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/0.3288, allocations: 0 / 438.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005857/0.3346, allocations: 2.447 MB / 440.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.3347, allocations: 85.77 kB / 440.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.3361, allocations: 0.9581 MB / 441.6 MB, free: 180 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.3362, allocations: 41.7 kB / 441.7 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.3367, allocations: 0.5514 MB / 442.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.3369, allocations: 242 kB / 442.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.3371, allocations: 134.6 kB / 442.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3373, allocations: 334 kB / 442.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/0.338, allocations: 413.7 kB / 443.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008149/0.3388, allocations: 0.5446 MB / 443.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.3404, allocations: 0.9581 MB / 444.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3404, allocations: 0 / 444.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002244/0.3426, allocations: 1.288 MB / 446.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3427, allocations: 8 kB / 446.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3427, allocations: 4 kB / 446.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/0.3436, allocations: 419.4 kB / 446.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.3441, allocations: 107.9 kB / 446.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.35, allocations: 4.504 MB / 451.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.3508, allocations: 87.58 kB / 451.2 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.3508, allocations: 20 kB / 451.3 MB, free: 6.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008035/0.3516, allocations: 0.4913 MB / 451.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3518, allocations: 103.4 kB / 451.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.3521, allocations: 120.8 kB / 452 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3521, allocations: 8 kB / 452 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3521, allocations: 0 / 452 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3521, allocations: 3.984 kB / 452 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.3562, allocations: 2.606 MB / 454.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3562, allocations: 0 / 454.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.3566, allocations: 79.88 kB / 454.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008469/0.3575, allocations: 400.6 kB / 455.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.3576, allocations: 16 kB / 455.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00577/0.3633, allocations: 4.478 MB / 459.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3634, allocations: 4 kB / 459.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.3665, allocations: 1.96 MB / 461.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/0.3671, allocations: 292.3 kB / 461.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.3672, allocations: 16 kB / 461.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.3676, allocations: 39.95 kB / 461.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3678, allocations: 76.53 kB / 461.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.3679, allocations: 23.92 kB / 461.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.3689, allocations: 0.6942 MB / 462.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3689, allocations: 4 kB / 462.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001001/0.3699, allocations: 347.2 kB / 463 MB, free: 10.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003392/0.3733, allocations: 2.539 MB / 465.5 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002241/0.3756, allocations: 1.292 MB / 466.8 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3756, allocations: 192 / 466.8 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.3769, allocations: 0.8103 MB / 467.6 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.378, allocations: 254.4 kB / 467.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.3946, allocations: 10.9 MB / 478.8 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.3958, allocations: 1.399 MB / 480.2 MB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005052/0.3963, allocations: 171.5 kB / 480.3 MB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/0.3969, allocations: 423.3 kB / 480.8 MB, free: 8.18 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3969, allocations: 0 / 480.8 MB, free: 8.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06661/0.4635, allocations: 28.95 MB / 0.4978 GB, free: 11.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.84, allocations: 11.83 kB / 0.4978 GB, free: 11.67 MB / 430.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_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_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)