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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 117.9 kB / 17.84 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 206.1 kB / 18.79 MB, free: 4.141 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.436/1.436, allocations: 230.4 MB / 250 MB, free: 9.105 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.001921/0.001921, allocations: 63.84 kB / 366.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2689, allocations: 53.31 MB / 420.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005295/0.2742, allocations: 3.51 MB / 423.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2763, allocations: 0.9269 MB / 424.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.2765, allocations: 11.94 kB / 424.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.2768, allocations: 67.3 kB / 424.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.2772, allocations: 130.8 kB / 424.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.2776, allocations: 159.7 kB / 425 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006131/0.2782, allocations: 0.5214 MB / 425.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.2785, allocations: 133.8 kB / 425.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.2788, allocations: 195.2 kB / 425.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.2791, allocations: 222.9 kB / 426 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.2792, allocations: 48 kB / 426.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2793, allocations: 48 kB / 426.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.2794, allocations: 111.5 kB / 426.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.2796, allocations: 234.8 kB / 426.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.2803, allocations: 0.5398 MB / 427 MB, free: 1.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2803, allocations: 0 / 427 MB, free: 1.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2803, allocations: 0 / 427 MB, free: 1.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.2803, allocations: 0 / 427 MB, free: 1.445 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001386/0.2817, allocations: 0.7646 MB / 427.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2818, allocations: 8.031 kB / 427.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.431e-05/0.2818, allocations: 70.72 kB / 427.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.2821, allocations: 64.64 kB / 427.9 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.2827, allocations: 364.4 kB / 428.3 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.2827, allocations: 33.38 kB / 428.3 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/0.2828, allocations: 40.38 kB / 428.3 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.2839, allocations: 403.8 kB / 428.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.2839, allocations: 0 / 428.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.2839, allocations: 19.94 kB / 428.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2839, allocations: 8 kB / 428.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.2845, allocations: 263.8 kB / 429 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.2868, allocations: 1.488 MB / 430.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.2872, allocations: 223.4 kB / 430.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.2876, allocations: 161.2 kB / 430.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.2876, allocations: 4.234 kB / 430.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.2881, allocations: 222.6 kB / 431.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.2881, allocations: 0 / 431.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001572/0.2896, allocations: 0.585 MB / 431.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.2897, allocations: 110.8 kB / 431.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.2901, allocations: 312.5 kB / 432.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.2901, allocations: 37.73 kB / 432.1 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.2903, allocations: 228.7 kB / 432.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.2904, allocations: 107.1 kB / 432.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.2905, allocations: 66.08 kB / 432.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2906, allocations: 350.7 kB / 432.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.2908, allocations: 92.7 kB / 433 MB, free: 11.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.2911, allocations: 213.8 kB / 433.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.2916, allocations: 335.7 kB / 433.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2916, allocations: 7.938 kB / 433.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007524/0.2924, allocations: 410.2 kB / 433.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2924, allocations: 11.98 kB / 433.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2924, allocations: 7.984 kB / 433.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.2928, allocations: 80.75 kB / 434 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.293, allocations: 55.91 kB / 434.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.2951, allocations: 1.998 MB / 436.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2954, allocations: 43.78 kB / 436.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.2954, allocations: 16 kB / 436.1 MB, free: 7.738 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: 11 (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.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.2956, allocations: 173.6 kB / 436.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.2957, allocations: 35.81 kB / 436.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.264e-05/0.2958, allocations: 39.95 kB / 436.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2958, allocations: 16.03 kB / 436.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.2958, allocations: 0 / 436.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2958, allocations: 0 / 436.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.2965, allocations: 0.5848 MB / 437 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2965, allocations: 0 / 437 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.2967, allocations: 28.17 kB / 437 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.2969, allocations: 88.7 kB / 437.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.2969, allocations: 8 kB / 437.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.2989, allocations: 1.984 MB / 439.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.2989, allocations: 3.984 kB / 439.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.2999, allocations: 0.4911 MB / 439.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.3, allocations: 136.8 kB / 439.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3001, allocations: 15.92 kB / 439.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3002, allocations: 12 kB / 439.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.3003, allocations: 27.95 kB / 439.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.3003, allocations: 12 kB / 439.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002614/0.3006, allocations: 219.1 kB / 440 MB, free: 3.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3006, allocations: 0 / 440 MB, free: 3.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005002/0.3011, allocations: 115.8 kB / 440.1 MB, free: 3.512 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.3024, allocations: 1.051 MB / 441.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.3032, allocations: 406.7 kB / 441.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3032, allocations: 0 / 441.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.3036, allocations: 266.5 kB / 441.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.304, allocations: 70.08 kB / 441.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.3089, allocations: 3.478 MB / 445.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.3094, allocations: 0.8113 MB / 446.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.3095, allocations: 34.91 kB / 446.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3097, allocations: 127.4 kB / 446.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3097, allocations: 4 kB / 446.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/0.3499, allocations: 8.635 MB / 455 MB, free: 4.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.52, allocations: 18.05 kB / 455 MB, free: 4.652 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_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_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)