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.001467/0.001473, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.00123/0.00123, allocations: 198 kB / 18.07 MB, free: 5.41 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.362/1.362, allocations: 205.1 MB / 223.9 MB, free: 12.45 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.00132/0.001319, allocations: 47.92 kB / 280.1 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09598, allocations: 46.62 MB / 326.7 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004821/0.1008, allocations: 3.692 MB / 330.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1025, allocations: 0.9439 MB / 331.3 MB, free: 116 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.1029, allocations: 11.94 kB / 331.4 MB, free: 104 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1032, allocations: 55.55 kB / 331.4 MB, free: 48 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004998/0.1037, allocations: 127.1 kB / 331.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1041, allocations: 139.8 kB / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.1048, allocations: 0.5677 MB / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.1051, allocations: 186.5 kB / 332.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.1055, allocations: 199.1 kB / 332.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/0.1058, allocations: 230.9 kB / 332.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.1059, allocations: 32 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.106, allocations: 28 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.1061, allocations: 99.55 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.1063, allocations: 246.7 kB / 333.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.1068, allocations: 0.5877 MB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1068, allocations: 0 / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1068, allocations: 0 / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.1069, allocations: 4 kB / 333.8 MB, free: 13.61 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.001411/0.1083, allocations: 0.7728 MB / 334.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1083, allocations: 8.031 kB / 334.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.974e-05/0.1084, allocations: 82.7 kB / 334.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.1085, allocations: 52.38 kB / 334.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.109, allocations: 356.2 kB / 335.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.109, allocations: 33.36 kB / 335.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.1091, allocations: 52.12 kB / 335.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.1099, allocations: 449.5 kB / 335.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1099, allocations: 0 / 335.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.1099, allocations: 20 kB / 335.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.11, allocations: 12 kB / 335.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.1106, allocations: 323.7 kB / 336 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.1129, allocations: 1.824 MB / 337.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.1136, allocations: 0.6124 MB / 338.4 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.1142, allocations: 273.3 kB / 338.7 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.1142, allocations: 8.328 kB / 338.7 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004321/0.1146, allocations: 277 kB / 338.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.1147, allocations: 0 / 338.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002187/0.1168, allocations: 0.8355 MB / 339.8 MB, free: 7.328 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1169, allocations: 97.05 kB / 339.9 MB, free: 7.215 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1172, allocations: 304.6 kB / 340.2 MB, free: 6.906 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.1173, allocations: 37.7 kB / 340.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1174, allocations: 212.4 kB / 340.4 MB, free: 6.648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1175, allocations: 134 kB / 340.5 MB, free: 6.516 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1177, allocations: 82.25 kB / 340.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1178, allocations: 350.7 kB / 341 MB, free: 6.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.118, allocations: 125.1 kB / 341.1 MB, free: 5.957 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.1183, allocations: 249 kB / 341.3 MB, free: 5.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.1189, allocations: 385.8 kB / 341.7 MB, free: 5.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1189, allocations: 0 / 341.7 MB, free: 5.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008395/0.1197, allocations: 0.5093 MB / 342.2 MB, free: 4.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1198, allocations: 4 kB / 342.2 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.1198, allocations: 4 kB / 342.2 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.1203, allocations: 155.7 kB / 342.4 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.1206, allocations: 71.78 kB / 342.4 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.1233, allocations: 2.303 MB / 344.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.1236, allocations: 39.62 kB / 344.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.1237, allocations: 20 kB / 344.8 MB, free: 1.988 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.0002704/0.124, allocations: 185.5 kB / 345 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.124, allocations: 39.53 kB / 345 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.1241, allocations: 48.3 kB / 345.1 MB, free: 1.711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1241, allocations: 4 kB / 345.1 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1242, allocations: 0 / 345.1 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1242, allocations: 8.062 kB / 345.1 MB, free: 1.699 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1256, allocations: 1.02 MB / 346.1 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1257, allocations: 8 kB / 346.1 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.1258, allocations: 31.92 kB / 346.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/0.1263, allocations: 151.9 kB / 346.3 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.1263, allocations: 8 kB / 346.3 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/0.1288, allocations: 2.3 MB / 348.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1288, allocations: 4 kB / 348.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.13, allocations: 0.7156 MB / 349.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.1302, allocations: 152.6 kB / 349.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.1303, allocations: 4 kB / 349.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1305, allocations: 19.98 kB / 349.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.1306, allocations: 31.95 kB / 349.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.1307, allocations: 15.98 kB / 349.5 MB, free: 13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.1309, allocations: 223.1 kB / 349.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1309, allocations: 0 / 349.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000616/0.1315, allocations: 143.7 kB / 349.9 MB, free: 12.64 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.00146/0.133, allocations: 1.27 MB / 351.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1341, allocations: 0.5419 MB / 351.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1341, allocations: 4.062 kB / 351.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.1346, allocations: 374.4 kB / 352.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.1352, allocations: 84.92 kB / 352.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005657/0.1408, allocations: 4.153 MB / 356.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.1413, allocations: 0.8279 MB / 357.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.1415, allocations: 39.3 kB / 357.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.1417, allocations: 139.4 kB / 357.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1417, allocations: 0 / 357.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.1652, allocations: 9.935 MB / 367.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.1655, allocations: 290.3 kB / 367.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.17, allocations: 0 / 367.5 MB, free: 10.57 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)