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.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001332, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 200.7 kB / 18.74 MB, free: 4.184 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.444/1.444, allocations: 227.7 MB / 247.2 MB, free: 10.17 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.001894/0.001894, allocations: 67.88 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3099, allocations: 50.54 MB / 409.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006618/0.3166, allocations: 4.759 MB / 413.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.3197, allocations: 1.363 MB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.3203, allocations: 27.88 kB / 415.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007111/0.3211, allocations: 218.4 kB / 415.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3221, allocations: 354 kB / 415.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.3227, allocations: 223.6 kB / 416 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.3245, allocations: 1.549 MB / 417.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.3258, allocations: 0.969 MB / 418.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.3269, allocations: 0.6425 MB / 419.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.328, allocations: 0.7705 MB / 419.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.3282, allocations: 164 kB / 420.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.3285, allocations: 164 kB / 420.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.329, allocations: 446.8 kB / 420.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008653/0.3298, allocations: 0.7311 MB / 421.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.3322, allocations: 2.109 MB / 423.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3322, allocations: 0 / 423.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3322, allocations: 0 / 423.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.106e-05/0.3323, allocations: 0 / 423.5 MB, free: 2.836 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00371/0.336, allocations: 1.692 MB / 425.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3361, allocations: 12.03 kB / 425.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002361/0.3363, allocations: 160.4 kB / 425.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.3369, allocations: 172 kB / 425.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.3385, allocations: 0.9704 MB / 426.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.3386, allocations: 74.38 kB / 426.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3388, allocations: 103.9 kB / 426.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.3414, allocations: 1.443 MB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.3414, allocations: 4 kB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3416, allocations: 43.94 kB / 428.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.3416, allocations: 41.98 kB / 428.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.3439, allocations: 1.3 MB / 429.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007122/0.351, allocations: 4.309 MB / 433.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.3535, allocations: 1.955 MB / 435.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.3551, allocations: 0.7352 MB / 436.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.3552, allocations: 8.656 kB / 436.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.3563, allocations: 0.6014 MB / 437.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.446e-06/0.3563, allocations: 3.828 kB / 437.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.008069/0.3644, allocations: 2.832 MB / 440 MB, free: 1.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.3645, allocations: 111.5 kB / 440.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.3659, allocations: 0.8404 MB / 440.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.945e-05/0.366, allocations: 41.7 kB / 441 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006688/0.3667, allocations: 0.493 MB / 441.5 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.3671, allocations: 257.8 kB / 441.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.3673, allocations: 134.6 kB / 441.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3675, allocations: 338 kB / 442.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.3682, allocations: 397.7 kB / 442.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009849/0.3692, allocations: 0.5455 MB / 443.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.3709, allocations: 0.9153 MB / 444 MB, free: 13.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3709, allocations: 0 / 444 MB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002381/0.3733, allocations: 1.307 MB / 445.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.3733, allocations: 8 kB / 445.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3733, allocations: 4.469 kB / 445.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.3746, allocations: 465.2 kB / 445.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.375, allocations: 95.83 kB / 445.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008685/0.3837, allocations: 5.588 MB / 451.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008841/0.3846, allocations: 95.52 kB / 451.6 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.3847, allocations: 24 kB / 451.6 MB, free: 5.938 MB / 366.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: 15 (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.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0008503/0.3856, allocations: 464.9 kB / 452 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.3858, allocations: 91.44 kB / 452.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.386, allocations: 112.7 kB / 452.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3861, allocations: 8 kB / 452.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3861, allocations: 4 kB / 452.3 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.3861, allocations: 7.922 kB / 452.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/0.3906, allocations: 2.602 MB / 454.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3906, allocations: 0 / 454.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.391, allocations: 67.89 kB / 454.9 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.392, allocations: 456.4 kB / 455.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.3921, allocations: 20.12 kB / 455.4 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008082/0.4002, allocations: 5.501 MB / 460.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4003, allocations: 0 / 460.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.4035, allocations: 1.921 MB / 462.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.4041, allocations: 280.3 kB / 463.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.4043, allocations: 16 kB / 463.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.4047, allocations: 39.95 kB / 463.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.405, allocations: 72.55 kB / 463.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.405, allocations: 20 kB / 463.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008912/0.4059, allocations: 0.6005 MB / 463.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4059, allocations: 0 / 463.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001107/0.407, allocations: 355.3 kB / 464.2 MB, free: 9.082 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003792/0.4108, allocations: 2.492 MB / 466.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.4133, allocations: 1.294 MB / 468 MB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4134, allocations: 0 / 468 MB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.4149, allocations: 0.8288 MB / 468.8 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.4163, allocations: 281.4 kB / 469.1 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.4331, allocations: 9.865 MB / 478.9 MB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.4343, allocations: 1.329 MB / 480.3 MB, free: 8.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00052/0.4349, allocations: 147.4 kB / 480.4 MB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/0.4354, allocations: 387.3 kB / 480.8 MB, free: 8.156 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4354, allocations: 0 / 480.8 MB, free: 8.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07701/0.5124, allocations: 29.41 MB / 0.4982 GB, free: 11.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.42, allocations: 14.69 kB / 0.4983 GB, free: 11.19 MB / 430.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)