Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 104.7 kB / 17.15 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 56.14 kB / 280.1 MB, free: 3.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07624/0.07737, allocations: 46.62 MB / 326.7 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004119/0.08153, allocations: 3.428 MB / 330.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.08279, allocations: 0.8656 MB / 331 MB, free: 452 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.08297, allocations: 11.94 kB / 331 MB, free: 440 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.08317, allocations: 47.61 kB / 331.1 MB, free: 392 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.08343, allocations: 111.2 kB / 331.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.08369, allocations: 115.9 kB / 331.3 MB, free: 164 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.08412, allocations: 489.9 kB / 331.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.08436, allocations: 149.7 kB / 331.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.08455, allocations: 171.2 kB / 332.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.08477, allocations: 203 kB / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.08482, allocations: 24 kB / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.989e-05/0.08489, allocations: 32 kB / 332.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.08498, allocations: 87.59 kB / 332.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.08515, allocations: 202.9 kB / 332.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.08552, allocations: 498.2 kB / 333.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.08553, allocations: 0 / 333.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.08554, allocations: 0 / 333.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.08555, allocations: 0 / 333.1 MB, free: 14.33 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00112/0.08667, allocations: 0.73 MB / 333.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.08672, allocations: 8.031 kB / 333.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.096e-05/0.08681, allocations: 74.72 kB / 333.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.0869, allocations: 48.38 kB / 334 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.08727, allocations: 332.3 kB / 334.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.0873, allocations: 25.38 kB / 334.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.08736, allocations: 40.28 kB / 334.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/0.08797, allocations: 391.1 kB / 334.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.088, allocations: 3.938 kB / 334.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.08804, allocations: 16 kB / 334.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.08805, allocations: 8 kB / 334.8 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.08853, allocations: 258.4 kB / 335 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.09037, allocations: 1.475 MB / 336.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.09079, allocations: 243.5 kB / 336.7 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.09114, allocations: 169.2 kB / 336.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.09118, allocations: 4.234 kB / 336.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.09157, allocations: 233.9 kB / 337.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.09158, allocations: 4 kB / 337.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001417/0.093, allocations: 0.5778 MB / 337.7 MB, free: 9.461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.0931, allocations: 110.8 kB / 337.8 MB, free: 9.328 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.09339, allocations: 296.5 kB / 338.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.09343, allocations: 37.7 kB / 338.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.09358, allocations: 208.4 kB / 338.3 MB, free: 8.781 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.09365, allocations: 94.64 kB / 338.4 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.09376, allocations: 77.97 kB / 338.5 MB, free: 8.602 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.09389, allocations: 338.8 kB / 338.8 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.09408, allocations: 96.7 kB / 338.9 MB, free: 8.168 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.09434, allocations: 221.5 kB / 339.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.09479, allocations: 323.1 kB / 339.5 MB, free: 7.523 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.0948, allocations: 4 kB / 339.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006425/0.09545, allocations: 417.5 kB / 339.9 MB, free: 7.102 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.09548, allocations: 8 kB / 339.9 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.09549, allocations: 4 kB / 339.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.09578, allocations: 85.22 kB / 340 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.096, allocations: 55.91 kB / 340 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.09772, allocations: 1.803 MB / 341.8 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.09795, allocations: 47.61 kB / 341.9 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.09798, allocations: 12 kB / 341.9 MB, free: 4.945 MB / 286.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001697/0.09815, allocations: 169.8 kB / 342.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.0982, allocations: 39.62 kB / 342.1 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.09827, allocations: 39.09 kB / 342.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.09828, allocations: 0 / 342.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.09829, allocations: 4 kB / 342.1 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.0983, allocations: 7.922 kB / 342.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.09886, allocations: 0.5576 MB / 342.7 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.09887, allocations: 0 / 342.7 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.09905, allocations: 31.92 kB / 342.7 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.09928, allocations: 84.83 kB / 342.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.09931, allocations: 8 kB / 342.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.1009, allocations: 1.8 MB / 344.6 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1009, allocations: 0 / 344.6 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.1018, allocations: 499.1 kB / 345.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.1019, allocations: 136.8 kB / 345.2 MB, free: 1.344 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.1019, allocations: 8 kB / 345.3 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1021, allocations: 19.97 kB / 345.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.1022, allocations: 19.97 kB / 345.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1022, allocations: 11.98 kB / 345.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1024, allocations: 219 kB / 345.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1024, allocations: 0 / 345.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.1029, allocations: 107.7 kB / 345.6 MB, free: 0.9688 MB / 286.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.00114/0.104, allocations: 1.059 MB / 346.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.1047, allocations: 419.2 kB / 347.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1047, allocations: 0 / 347.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.1051, allocations: 278.5 kB / 347.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1054, allocations: 61.09 kB / 347.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.1094, allocations: 3.583 MB / 351 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1097, allocations: 0.8029 MB / 351.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.1099, allocations: 35.14 kB / 351.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.11, allocations: 123.4 kB / 352 MB, free: 10.34 MB / 302.1 MB Notification: Performance of SimCode: time 1.413e-06/0.11, allocations: 0 / 352 MB, free: 10.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.1291, allocations: 7.64 MB / 359.6 MB, free: 2.66 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.1294, allocations: 281.9 kB / 359.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.26, allocations: 4 kB / 359.9 MB, free: 2.281 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)