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.001323/0.001323, allocations: 113.4 kB / 17.73 MB, free: 5.324 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.001566/0.001566, allocations: 188.2 kB / 18.66 MB, free: 4.398 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.309/1.309, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001312/0.001313, allocations: 55.92 kB / 328 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08914, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00492/0.09411, allocations: 3.394 MB / 378.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.09592, allocations: 0.8886 MB / 378.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.09633, allocations: 4 kB / 378.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.09664, allocations: 67.3 kB / 379 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.09715, allocations: 126.9 kB / 379.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.09759, allocations: 131.8 kB / 379.3 MB, free: 420 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2057/0.3033, allocations: 0.5077 MB / 379.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005198/0.3039, allocations: 177.6 kB / 379.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.3044, allocations: 191.7 kB / 380.1 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.3047, allocations: 214.1 kB / 380.3 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.3048, allocations: 44.5 kB / 380.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.3049, allocations: 48.44 kB / 380.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.305, allocations: 100.7 kB / 380.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.3053, allocations: 225.2 kB / 380.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.3059, allocations: 0.5199 MB / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.306, allocations: 0.6875 kB / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.306, allocations: 0 / 381.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.306, allocations: 0.75 kB / 381.3 MB, free: 9.066 MB / 318.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.001322/0.3073, allocations: 0.7175 MB / 382 MB, free: 8.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.3074, allocations: 13.8 kB / 382 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.836e-05/0.3075, allocations: 74.72 kB / 382.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3076, allocations: 50.03 kB / 382.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.3081, allocations: 341.7 kB / 382.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.3081, allocations: 29.66 kB / 382.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.3082, allocations: 37.38 kB / 382.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.309, allocations: 385.2 kB / 382.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.309, allocations: 3.984 kB / 382.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.3091, allocations: 14.97 kB / 382.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.3091, allocations: 8.406 kB / 382.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.3096, allocations: 254.3 kB / 383.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.3115, allocations: 1.461 MB / 384.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.312, allocations: 239.2 kB / 384.9 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.3123, allocations: 170 kB / 385 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3124, allocations: 7.562 kB / 385 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.3128, allocations: 232 kB / 385.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.3128, allocations: 0 / 385.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001459/0.3142, allocations: 0.5795 MB / 385.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3143, allocations: 119.1 kB / 386 MB, free: 6.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.3146, allocations: 292.5 kB / 386.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.3146, allocations: 35.22 kB / 386.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3148, allocations: 217.8 kB / 386.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.3148, allocations: 100.1 kB / 386.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3149, allocations: 67.3 kB / 386.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.315, allocations: 344.1 kB / 387 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3152, allocations: 88.53 kB / 387.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.3155, allocations: 225.4 kB / 387.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.3159, allocations: 327.2 kB / 387.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3159, allocations: 3.125 kB / 387.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006626/0.3166, allocations: 412.1 kB / 388 MB, free: 5.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3166, allocations: 9.906 kB / 388 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3166, allocations: 4 kB / 388 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/0.317, allocations: 80.75 kB / 388.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.3172, allocations: 64.58 kB / 388.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.3188, allocations: 1.998 MB / 390.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.3191, allocations: 39.86 kB / 390.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3191, allocations: 13.8 kB / 390.2 MB, free: 3.602 MB / 318.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.0001801/0.3193, allocations: 171.9 kB / 390.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.3193, allocations: 39.12 kB / 390.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.3194, allocations: 38.88 kB / 390.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3194, allocations: 4.281 kB / 390.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3194, allocations: 0 / 390.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3195, allocations: 2.422 kB / 390.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.3201, allocations: 0.5664 MB / 391.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3201, allocations: 1.281 kB / 391.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.3203, allocations: 30.05 kB / 391.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.3205, allocations: 84.08 kB / 391.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3205, allocations: 7.656 kB / 391.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.3221, allocations: 1.986 MB / 393.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3221, allocations: 1.219 kB / 393.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.323, allocations: 0.4959 MB / 393.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3231, allocations: 131.5 kB / 393.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.3232, allocations: 11.59 kB / 393.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3233, allocations: 24.23 kB / 393.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.3234, allocations: 22.53 kB / 393.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.3235, allocations: 13.23 kB / 393.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.3237, allocations: 209.9 kB / 394.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3237, allocations: 0 / 394.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.3242, allocations: 114.6 kB / 394.2 MB, free: 0.625 MB / 318.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.001122/0.3253, allocations: 1.05 MB / 395.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007846/0.3261, allocations: 417 kB / 395.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3261, allocations: 1.531 kB / 395.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.3265, allocations: 278.7 kB / 395.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3269, allocations: 68.91 kB / 396 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.3317, allocations: 3.39 MB / 399.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.3322, allocations: 0.7995 MB / 400.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.3323, allocations: 36.55 kB / 400.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3325, allocations: 124.4 kB / 400.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3325, allocations: 3.469 kB / 400.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.3715, allocations: 8.42 MB / 408.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.67, allocations: 16.98 kB / 408.8 MB, free: 9.324 MB / 334.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)