Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_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.001289/0.001289, allocations: 114 kB / 17.28 MB, free: 6.219 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.001367/0.001367, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.247/1.247, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001291/0.001291, allocations: 56.14 kB / 280.3 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07524/0.07654, allocations: 46.63 MB / 326.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004309/0.08089, allocations: 3.685 MB / 330.6 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.08224, allocations: 0.9439 MB / 331.5 MB, free: 16 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.08243, allocations: 12 kB / 331.5 MB, free: 4 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.08263, allocations: 59.58 kB / 331.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.0829, allocations: 123 kB / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.08318, allocations: 147.8 kB / 331.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.08367, allocations: 0.5951 MB / 332.5 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.08398, allocations: 211.4 kB / 332.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.0842, allocations: 223.2 kB / 332.9 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.08445, allocations: 246.9 kB / 333.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.08452, allocations: 56 kB / 333.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.08461, allocations: 56 kB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.0847, allocations: 115.6 kB / 333.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.0849, allocations: 266.7 kB / 333.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.08537, allocations: 0.6073 MB / 334.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.08538, allocations: 0 / 334.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.08539, allocations: 4 kB / 334.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.08541, allocations: 0 / 334.2 MB, free: 13.32 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001158/0.08657, allocations: 0.7806 MB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.08661, allocations: 11.89 kB / 335 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.0867, allocations: 82.64 kB / 335.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.08679, allocations: 52.38 kB / 335.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.08717, allocations: 360.2 kB / 335.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.0872, allocations: 33.38 kB / 335.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.08727, allocations: 48.06 kB / 335.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.08795, allocations: 453.5 kB / 336 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.08797, allocations: 3.938 kB / 336 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.08802, allocations: 19.98 kB / 336 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.08804, allocations: 12 kB / 336.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/0.08858, allocations: 319.8 kB / 336.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.09069, allocations: 1.828 MB / 338.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.09142, allocations: 0.6163 MB / 338.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/0.09194, allocations: 265.4 kB / 339.1 MB, free: 8.176 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.09198, allocations: 8.328 kB / 339.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.0924, allocations: 277 kB / 339.3 MB, free: 7.879 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.09241, allocations: 0 / 339.3 MB, free: 7.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002129/0.09455, allocations: 0.8394 MB / 340.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.09461, allocations: 81.11 kB / 340.3 MB, free: 6.914 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.09491, allocations: 312.6 kB / 340.6 MB, free: 6.594 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.09495, allocations: 33.7 kB / 340.6 MB, free: 6.555 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.09509, allocations: 220.4 kB / 340.8 MB, free: 6.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.09519, allocations: 138 kB / 341 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.09531, allocations: 82.25 kB / 341 MB, free: 6.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.09543, allocations: 350.7 kB / 341.4 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.09565, allocations: 121.1 kB / 341.5 MB, free: 5.645 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.09594, allocations: 253 kB / 341.7 MB, free: 5.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.09644, allocations: 381.8 kB / 342.1 MB, free: 4.914 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.09645, allocations: 0 / 342.1 MB, free: 4.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008106/0.09726, allocations: 0.5011 MB / 342.6 MB, free: 4.402 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.09729, allocations: 8 kB / 342.6 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.0973, allocations: 4.469 kB / 342.6 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004297/0.09774, allocations: 163.7 kB / 342.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.09798, allocations: 67.84 kB / 342.9 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.1006, allocations: 2.541 MB / 345.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.1008, allocations: 43.59 kB / 345.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.1009, allocations: 16 kB / 345.5 MB, free: 1.426 MB / 286.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001874/0.1011, allocations: 177.7 kB / 345.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.1011, allocations: 31.62 kB / 345.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.588e-05/0.1012, allocations: 52.3 kB / 345.7 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1012, allocations: 8.078 kB / 345.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.1012, allocations: 7.984 kB / 345.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1013, allocations: 0 / 345.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.1026, allocations: 1.028 MB / 346.8 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1026, allocations: 3.938 kB / 346.8 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1028, allocations: 35.97 kB / 346.8 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/0.1032, allocations: 147.9 kB / 346.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.1032, allocations: 12 kB / 346.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.1057, allocations: 2.53 MB / 349.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1057, allocations: 0 / 349.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.1067, allocations: 0.7195 MB / 350.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.1068, allocations: 156.5 kB / 350.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.1069, allocations: 11.94 kB / 350.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1071, allocations: 19.98 kB / 350.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.1072, allocations: 35.95 kB / 350.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.1072, allocations: 12 kB / 350.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.1074, allocations: 223.1 kB / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1074, allocations: 0 / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005029/0.1079, allocations: 139.8 kB / 350.8 MB, free: 11.84 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001267/0.1092, allocations: 1.266 MB / 352 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008775/0.1101, allocations: 0.5535 MB / 352.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1101, allocations: 0 / 352.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.1106, allocations: 386.2 kB / 353 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.1111, allocations: 85.36 kB / 353.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.1158, allocations: 4.147 MB / 357.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1162, allocations: 0.8279 MB / 358 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.1164, allocations: 43.23 kB / 358.1 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.1165, allocations: 135.4 kB / 358.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1165, allocations: 0 / 358.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.1426, allocations: 10.35 MB / 368.6 MB, free: 9.746 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/0.1429, allocations: 282.7 kB / 368.8 MB, free: 9.363 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.24, allocations: 0 / 368.8 MB, free: 9.363 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)