Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001129/0.00113, allocations: 190 kB / 17.54 MB, free: 6.066 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.265/1.265, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 46.98 kB / 300.3 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07489/0.07592, allocations: 49.45 MB / 349.7 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00414/0.08009, allocations: 3.735 MB / 353.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.0815, allocations: 0.9003 MB / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.08177, allocations: 7.844 kB / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.08201, allocations: 63.53 kB / 354.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.08237, allocations: 119 kB / 354.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.08269, allocations: 139.9 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.08324, allocations: 0.607 MB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.08355, allocations: 208.1 kB / 355.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.08381, allocations: 227.2 kB / 355.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.08409, allocations: 250.9 kB / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.08417, allocations: 56 kB / 356 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.08425, allocations: 56 kB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.08435, allocations: 123.5 kB / 356.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.08457, allocations: 274.7 kB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.08505, allocations: 0.619 MB / 357.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.08506, allocations: 7.922 kB / 357.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.08507, allocations: 0 / 357.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.08509, allocations: 0 / 357.1 MB, free: 13.25 MB / 302.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.001161/0.08626, allocations: 0.7729 MB / 357.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.0863, allocations: 19.88 kB / 357.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.632e-05/0.08639, allocations: 82.72 kB / 357.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.565e-05/0.08648, allocations: 56.28 kB / 358 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.08686, allocations: 360.2 kB / 358.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.08689, allocations: 37.38 kB / 358.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.08696, allocations: 44.12 kB / 358.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.08764, allocations: 461.5 kB / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.08766, allocations: 0 / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.08771, allocations: 19.98 kB / 358.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.08772, allocations: 12 kB / 358.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.08825, allocations: 319.8 kB / 359.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.09036, allocations: 1.855 MB / 361.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.09104, allocations: 0.6125 MB / 361.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.09154, allocations: 272.7 kB / 362 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.09158, allocations: 8.328 kB / 362 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003887/0.09197, allocations: 277.1 kB / 362.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.09198, allocations: 0 / 362.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002062/0.09405, allocations: 0.8422 MB / 363.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.09411, allocations: 89.11 kB / 363.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.0944, allocations: 312.4 kB / 363.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.09444, allocations: 37.7 kB / 363.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.09456, allocations: 220.2 kB / 363.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.09466, allocations: 138.1 kB / 363.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.09478, allocations: 78.27 kB / 363.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.09489, allocations: 346.8 kB / 364.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.09511, allocations: 125.1 kB / 364.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.09538, allocations: 256.9 kB / 364.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.09586, allocations: 386.6 kB / 365 MB, free: 4.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.09587, allocations: 0 / 365 MB, free: 4.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007573/0.09664, allocations: 0.5016 MB / 365.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.09666, allocations: 8 kB / 365.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.09667, allocations: 7.938 kB / 365.5 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/0.09709, allocations: 151.5 kB / 365.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.09732, allocations: 63.95 kB / 365.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.09975, allocations: 2.542 MB / 368.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.1, allocations: 39.59 kB / 368.3 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.1, allocations: 20 kB / 368.3 MB, free: 1.332 MB / 302.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.00017/0.1002, allocations: 185.8 kB / 368.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.1003, allocations: 39.56 kB / 368.6 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.1004, allocations: 48.3 kB / 368.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1004, allocations: 4 kB / 368.6 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1004, allocations: 0 / 368.6 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1004, allocations: 7.984 kB / 368.6 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1404/0.2408, allocations: 1.014 MB / 369.6 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.2409, allocations: 1.062 kB / 369.6 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.2411, allocations: 38.94 kB / 369.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.2416, allocations: 141.4 kB / 369.8 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.2416, allocations: 10.61 kB / 369.8 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.2442, allocations: 2.537 MB / 372.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2442, allocations: 8.172 kB / 372.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.2454, allocations: 0.7186 MB / 373.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.2455, allocations: 151.8 kB / 373.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.2456, allocations: 15.02 kB / 373.3 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.2458, allocations: 12.86 kB / 373.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.246, allocations: 35.92 kB / 373.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.246, allocations: 14.39 kB / 373.3 MB, free: 23.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.2462, allocations: 218.2 kB / 373.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2462, allocations: 0 / 373.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006417/0.2469, allocations: 149.9 kB / 373.7 MB, free: 23.42 MB / 302.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.001235/0.2481, allocations: 1.269 MB / 374.9 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009579/0.2491, allocations: 0.5425 MB / 375.5 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2491, allocations: 5.688 kB / 375.5 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.2496, allocations: 379.8 kB / 375.9 MB, free: 22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.25, allocations: 81.92 kB / 375.9 MB, free: 21.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.2546, allocations: 4.164 MB / 380.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.2549, allocations: 0.8365 MB / 380.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.2551, allocations: 39.38 kB / 381 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2552, allocations: 140.1 kB / 381.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2552, allocations: 4 kB / 381.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2803/0.5355, allocations: 10.35 MB / 391.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.5357, allocations: 284.6 kB / 391.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/2.846, allocations: 0 / 391.8 MB, free: 14.86 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)