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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001472/0.001472, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002349/0.002349, allocations: 198 kB / 18.73 MB, free: 4.312 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.464/1.464, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.001868/0.001868, allocations: 71.86 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2786, allocations: 50.54 MB / 409.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005311/0.2839, allocations: 3.747 MB / 412.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.2859, allocations: 0.9777 MB / 413.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.2862, allocations: 12 kB / 413.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.2865, allocations: 87.16 kB / 413.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.2868, allocations: 138.7 kB / 414 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.2872, allocations: 183.7 kB / 414.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006838/0.2879, allocations: 0.6148 MB / 414.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.2883, allocations: 215 kB / 415.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.2887, allocations: 239.1 kB / 415.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.289, allocations: 246.9 kB / 415.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.007e-05/0.2891, allocations: 56 kB / 415.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.2892, allocations: 67.98 kB / 415.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2894, allocations: 123.5 kB / 415.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.2896, allocations: 270.7 kB / 416 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000757/0.2904, allocations: 0.6459 MB / 416.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2904, allocations: 4 kB / 416.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2904, allocations: 4 kB / 416.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.2905, allocations: 0 / 416.7 MB, free: 9.711 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001441/0.2919, allocations: 0.8071 MB / 417.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.292, allocations: 12.03 kB / 417.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.2921, allocations: 86.69 kB / 417.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.2923, allocations: 68.59 kB / 417.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.2928, allocations: 381 kB / 418 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.2928, allocations: 33.38 kB / 418.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.2929, allocations: 48.12 kB / 418.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.2936, allocations: 465.5 kB / 418.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.2937, allocations: 4 kB / 418.6 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.2937, allocations: 16 kB / 418.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2937, allocations: 8 kB / 418.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.2943, allocations: 327.8 kB / 418.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.2968, allocations: 1.852 MB / 420.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008355/0.2977, allocations: 0.6052 MB / 421.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.2983, allocations: 274.7 kB / 421.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.2983, allocations: 4.328 kB / 421.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004719/0.2988, allocations: 269.2 kB / 421.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.814e-06/0.2988, allocations: 0 / 421.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002316/0.3011, allocations: 0.8502 MB / 422.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.3012, allocations: 81.11 kB / 422.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.3016, allocations: 332.4 kB / 423.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.3016, allocations: 37.7 kB / 423.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3018, allocations: 224.6 kB / 423.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.302, allocations: 142.8 kB / 423.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.3021, allocations: 94.2 kB / 423.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3023, allocations: 346.8 kB / 424 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.3025, allocations: 121.1 kB / 424.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.3029, allocations: 257 kB / 424.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.3035, allocations: 379 kB / 424.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3035, allocations: 0 / 424.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009072/0.3044, allocations: 0.5128 MB / 425.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3044, allocations: 4 kB / 425.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3045, allocations: 7.938 kB / 425.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.3049, allocations: 153.1 kB / 425.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.3052, allocations: 63.91 kB / 425.5 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.3083, allocations: 2.545 MB / 428 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.3086, allocations: 47.77 kB / 428.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.3086, allocations: 20 kB / 428.1 MB, free: 13.69 MB / 350.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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.3088, allocations: 169.7 kB / 428.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.3089, allocations: 43.7 kB / 428.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.309, allocations: 48.41 kB / 428.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.309, allocations: 4 kB / 428.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3091, allocations: 4 kB / 428.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3091, allocations: 3.984 kB / 428.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.3106, allocations: 1.036 MB / 429.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3106, allocations: 0 / 429.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3108, allocations: 31.98 kB / 429.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/0.3112, allocations: 148.9 kB / 429.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.3112, allocations: 4 kB / 429.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.3141, allocations: 2.553 MB / 432.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3141, allocations: 4.031 kB / 432.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.3153, allocations: 0.7138 MB / 432.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.3155, allocations: 152.7 kB / 433 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.3155, allocations: 16 kB / 433 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.3158, allocations: 19.92 kB / 433 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.3159, allocations: 31.95 kB / 433 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.3159, allocations: 19.98 kB / 433.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.3162, allocations: 223.1 kB / 433.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3162, allocations: 0 / 433.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006115/0.3168, allocations: 143.8 kB / 433.4 MB, free: 8.082 MB / 350.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.3183, allocations: 1.281 MB / 434.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3193, allocations: 0.5417 MB / 435.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3193, allocations: 0 / 435.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.3199, allocations: 387.1 kB / 435.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.3204, allocations: 84.66 kB / 435.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/0.3259, allocations: 4.011 MB / 439.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.3264, allocations: 0.8318 MB / 440.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.3266, allocations: 35.36 kB / 440.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.3268, allocations: 147.4 kB / 440.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3268, allocations: 0 / 440.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.3685, allocations: 10.96 MB / 451.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.44, allocations: 27.05 kB / 451.7 MB, free: 5.863 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_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_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)