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.002036/0.002036, allocations: 113.9 kB / 17.07 MB, free: 5.973 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.002386/0.002386, allocations: 194.9 kB / 18 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.143/3.143, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003123/0.003124, allocations: 47.94 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4318, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.009414/0.4412, allocations: 3.713 MB / 404 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.4443, allocations: 0.9132 MB / 404.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005817/0.445, allocations: 11.94 kB / 404.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.4455, allocations: 79.22 kB / 405 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008976/0.4465, allocations: 142.7 kB / 405.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007713/0.4473, allocations: 163.8 kB / 405.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.4486, allocations: 0.607 MB / 405.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.4493, allocations: 216 kB / 406.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.4499, allocations: 227.2 kB / 406.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.4506, allocations: 250.9 kB / 406.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.4508, allocations: 56 kB / 406.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.451, allocations: 56 kB / 406.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.4512, allocations: 119.5 kB / 406.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005429/0.4518, allocations: 266.7 kB / 407 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.453, allocations: 0.6384 MB / 407.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.453, allocations: 0 / 407.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.453, allocations: 0 / 407.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.4531, allocations: 4 kB / 407.7 MB, free: 1.348 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002541/0.4556, allocations: 0.773 MB / 408.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.4557, allocations: 15.89 kB / 408.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.4559, allocations: 74.72 kB / 408.5 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.4561, allocations: 56.28 kB / 408.6 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00093/0.4571, allocations: 376.1 kB / 409 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.4572, allocations: 33.38 kB / 409 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.4573, allocations: 52.11 kB / 409 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.4588, allocations: 457.6 kB / 409.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.4588, allocations: 7.875 kB / 409.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.4589, allocations: 16 kB / 409.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.459, allocations: 12 kB / 409.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4602, allocations: 323.8 kB / 409.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004588/0.4648, allocations: 1.843 MB / 411.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.4663, allocations: 0.6013 MB / 412.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.4674, allocations: 274.6 kB / 412.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/0.4675, allocations: 12.31 kB / 412.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008672/0.4684, allocations: 261.2 kB / 412.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 4.829e-06/0.4684, allocations: 0 / 412.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.004374/0.4728, allocations: 0.8461 MB / 413.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.4729, allocations: 85.11 kB / 413.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.4736, allocations: 308.5 kB / 414.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.4737, allocations: 41.69 kB / 414.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.474, allocations: 220.3 kB / 414.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.4742, allocations: 134.1 kB / 414.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.4745, allocations: 86.16 kB / 414.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.4747, allocations: 346.8 kB / 414.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.4752, allocations: 121.1 kB / 415 MB, free: 9.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.4759, allocations: 253 kB / 415.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.477, allocations: 383.2 kB / 415.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.477, allocations: 0 / 415.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001803/0.4788, allocations: 0.5017 MB / 416.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4789, allocations: 8 kB / 416.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.4789, allocations: 7.938 kB / 416.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009252/0.4798, allocations: 152.7 kB / 416.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.4803, allocations: 63.91 kB / 416.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.4857, allocations: 2.553 MB / 418.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.4863, allocations: 39.72 kB / 418.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.4864, allocations: 16 kB / 418.9 MB, free: 5.43 MB / 334.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.0004555/0.4869, allocations: 186.6 kB / 419.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4871, allocations: 39.47 kB / 419.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.4873, allocations: 48.3 kB / 419.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4873, allocations: 4 kB / 419.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4873, allocations: 4 kB / 419.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4873, allocations: 3.984 kB / 419.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.4903, allocations: 1.02 MB / 420.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4903, allocations: 0 / 420.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.4907, allocations: 35.97 kB / 420.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008006/0.4915, allocations: 143.2 kB / 420.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.4916, allocations: 8.031 kB / 420.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005452/0.4971, allocations: 2.556 MB / 423 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.4971, allocations: 3.938 kB / 423 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.4993, allocations: 0.7132 MB / 423.7 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.4997, allocations: 152.5 kB / 423.8 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.4998, allocations: 15.94 kB / 423.9 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.5003, allocations: 11.98 kB / 423.9 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.5005, allocations: 39.95 kB / 423.9 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.5006, allocations: 12 kB / 423.9 MB, free: 200 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004746/0.5011, allocations: 219.1 kB / 424.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5011, allocations: 0 / 424.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001128/0.5022, allocations: 143.7 kB / 424.3 MB, free: 15.84 MB / 350.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.002628/0.5049, allocations: 1.273 MB / 425.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.5067, allocations: 0.5407 MB / 426.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5068, allocations: 0 / 426.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.5078, allocations: 378.1 kB / 426.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.5089, allocations: 98.16 kB / 426.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5189, allocations: 3.916 MB / 430.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.5197, allocations: 0.8279 MB / 431.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.52, allocations: 39.3 kB / 431.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.5204, allocations: 143.4 kB / 431.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5204, allocations: 0 / 431.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7283/1.249, allocations: 10.99 MB / 442.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.34/23.59, allocations: 15.64 kB / 442.5 MB, free: 13.7 MB / 366.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)