Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_0_0_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.001569/0.001569, allocations: 114 kB / 17.06 MB, free: 5.996 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.001775/0.001775, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009826/0.0009826, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3281, allocations: 49.45 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005352/0.3335, allocations: 3.433 MB / 403.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3353, allocations: 0.8335 MB / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.3355, allocations: 4 kB / 404.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.3357, allocations: 71.3 kB / 404.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.3361, allocations: 130.8 kB / 404.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.3364, allocations: 131.7 kB / 404.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.337, allocations: 0.5175 MB / 405.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.3373, allocations: 171.5 kB / 405.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.3375, allocations: 199.2 kB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.3378, allocations: 222.9 kB / 406 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.3379, allocations: 44 kB / 406 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.338, allocations: 48 kB / 406 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.3381, allocations: 99.62 kB / 406.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.3383, allocations: 238.8 kB / 406.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.3388, allocations: 0.5139 MB / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3388, allocations: 0 / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3388, allocations: 0 / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3388, allocations: 0 / 406.9 MB, free: 2.148 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001487/0.3403, allocations: 0.7301 MB / 407.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.031e-05/0.3404, allocations: 11.89 kB / 407.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.75e-05/0.3405, allocations: 82.7 kB / 407.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.3406, allocations: 48.38 kB / 407.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.3411, allocations: 340.3 kB / 408.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.3411, allocations: 33.25 kB / 408.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.3412, allocations: 44.38 kB / 408.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.3419, allocations: 395.8 kB / 408.6 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.3419, allocations: 7.906 kB / 408.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.342, allocations: 16 kB / 408.6 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.342, allocations: 8 kB / 408.6 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.3425, allocations: 259.8 kB / 408.8 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.3447, allocations: 1.48 MB / 410.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.3451, allocations: 251.3 kB / 410.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.3455, allocations: 161.2 kB / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.3456, allocations: 8.219 kB / 410.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/0.346, allocations: 238.5 kB / 411 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.324e-06/0.346, allocations: 0 / 411 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001558/0.3476, allocations: 0.5887 MB / 411.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.3477, allocations: 110.8 kB / 411.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.3481, allocations: 288.6 kB / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.3481, allocations: 37.7 kB / 412 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3483, allocations: 216.3 kB / 412.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.803e-05/0.3484, allocations: 98.67 kB / 412.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3485, allocations: 70.08 kB / 412.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3487, allocations: 342.8 kB / 412.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3489, allocations: 96.64 kB / 412.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.3492, allocations: 225.5 kB / 413 MB, free: 11.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.3496, allocations: 323.1 kB / 413.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/0.3496, allocations: 7.938 kB / 413.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006795/0.3503, allocations: 403.7 kB / 413.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3504, allocations: 12.03 kB / 413.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3504, allocations: 4 kB / 413.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.3507, allocations: 84.8 kB / 413.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.3509, allocations: 63.84 kB / 413.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.3531, allocations: 1.983 MB / 415.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3534, allocations: 43.73 kB / 415.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3534, allocations: 19.94 kB / 415.9 MB, free: 8.5 MB / 334.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.0002213/0.3536, allocations: 179 kB / 416.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.3537, allocations: 35.61 kB / 416.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.3538, allocations: 39.09 kB / 416.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3538, allocations: 4 kB / 416.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3538, allocations: 0 / 416.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3538, allocations: 4 kB / 416.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.3545, allocations: 0.5614 MB / 416.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3545, allocations: 4 kB / 416.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.3547, allocations: 27.92 kB / 416.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.3549, allocations: 84.94 kB / 416.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.355, allocations: 7.984 kB / 416.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.357, allocations: 1.994 MB / 418.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.357, allocations: 0 / 418.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009299/0.3579, allocations: 498.8 kB / 419.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.3581, allocations: 136.6 kB / 419.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.3582, allocations: 8 kB / 419.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.3583, allocations: 15.98 kB / 419.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.3584, allocations: 19.97 kB / 419.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.3585, allocations: 15.98 kB / 419.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.3587, allocations: 207.1 kB / 419.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3587, allocations: 0 / 419.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005413/0.3593, allocations: 119.6 kB / 419.9 MB, free: 4.305 MB / 334.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.001547/0.3608, allocations: 1.057 MB / 420.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009492/0.3618, allocations: 423.1 kB / 421.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3618, allocations: 4.062 kB / 421.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.3623, allocations: 279.5 kB / 421.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.3627, allocations: 72.89 kB / 421.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.3683, allocations: 3.394 MB / 425.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.3688, allocations: 0.8068 MB / 425.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.3689, allocations: 30.97 kB / 425.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3691, allocations: 130.8 kB / 426 MB, free: 13.86 MB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3691, allocations: 0 / 426 MB, free: 13.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.4046, allocations: 8.431 MB / 434.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.11, allocations: 6.922 kB / 434.5 MB, free: 5.719 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)