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.0009412/0.0009413, allocations: 92.86 kB / 16.95 MB, free: 6.441 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.001075/0.001075, allocations: 183.9 kB / 17.84 MB, free: 6.004 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.656/1.656, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004823/0.0004824, allocations: 11.98 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 47.58 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003652/0.1159, allocations: 3.142 MB / 331.6 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1175, allocations: 0.917 MB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.1177, allocations: 11.94 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.1179, allocations: 55.53 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.1181, allocations: 115.1 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1184, allocations: 107.8 kB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.119, allocations: 0.5522 MB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.1193, allocations: 153 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.1196, allocations: 175.3 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1199, allocations: 207 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.1199, allocations: 24 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.838e-05/0.12, allocations: 24 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.1201, allocations: 75.62 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1202, allocations: 113.5 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.1206, allocations: 462.7 kB / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1206, allocations: 0 / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1206, allocations: 0 / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1207, allocations: 4 kB / 334.6 MB, free: 13.81 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.001301/0.122, allocations: 0.7025 MB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.122, allocations: 8.031 kB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.427e-05/0.1221, allocations: 78.52 kB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1222, allocations: 55.34 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.1227, allocations: 347.1 kB / 335.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.1227, allocations: 40.94 kB / 335.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.1228, allocations: 44 kB / 335.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.1236, allocations: 445.6 kB / 336.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.1236, allocations: 7.938 kB / 336.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1237, allocations: 16 kB / 336.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1237, allocations: 8 kB / 336.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.1243, allocations: 315.8 kB / 336.6 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.1267, allocations: 1.852 MB / 338.5 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.1275, allocations: 0.6047 MB / 339.1 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.1281, allocations: 281.6 kB / 339.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.1281, allocations: 8.312 kB / 339.4 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.1286, allocations: 269.2 kB / 339.6 MB, free: 8.461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.1286, allocations: 0 / 339.6 MB, free: 8.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002249/0.1309, allocations: 0.8432 MB / 340.5 MB, free: 7.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.1309, allocations: 93.05 kB / 340.6 MB, free: 7.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.1313, allocations: 308.5 kB / 340.9 MB, free: 7.176 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.1313, allocations: 37.7 kB / 340.9 MB, free: 7.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1315, allocations: 212.4 kB / 341.1 MB, free: 6.922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1316, allocations: 142 kB / 341.2 MB, free: 6.781 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.1316, allocations: 8 kB / 341.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1318, allocations: 342.8 kB / 341.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.132, allocations: 125.1 kB / 341.7 MB, free: 6.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.1323, allocations: 249 kB / 341.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1326, allocations: 147.5 kB / 342.1 MB, free: 5.867 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1326, allocations: 4 kB / 342.1 MB, free: 5.863 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008536/0.1335, allocations: 0.5133 MB / 342.6 MB, free: 5.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1335, allocations: 7.984 kB / 342.6 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1335, allocations: 4 kB / 342.6 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.134, allocations: 144.8 kB / 342.8 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1342, allocations: 63.91 kB / 342.8 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.1371, allocations: 2.315 MB / 345.1 MB, free: 2.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.1374, allocations: 39.69 kB / 345.2 MB, free: 2.637 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.1375, allocations: 24 kB / 345.2 MB, free: 2.613 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.1377, allocations: 178.5 kB / 345.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.1378, allocations: 39.53 kB / 345.4 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.923e-05/0.1379, allocations: 48.3 kB / 345.5 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1379, allocations: 4 kB / 345.5 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1379, allocations: 3.953 kB / 345.5 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1379, allocations: 3.984 kB / 345.5 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.1394, allocations: 1.031 MB / 346.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1394, allocations: 0 / 346.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.1396, allocations: 31.98 kB / 346.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.14, allocations: 148.9 kB / 346.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.14, allocations: 12 kB / 346.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.1427, allocations: 2.3 MB / 349 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1427, allocations: 3.953 kB / 349 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.1437, allocations: 0.712 MB / 349.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.1439, allocations: 160.5 kB / 349.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.144, allocations: 11.94 kB / 349.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1442, allocations: 19.92 kB / 349.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.1443, allocations: 31.95 kB / 349.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.1443, allocations: 15.98 kB / 349.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.1446, allocations: 223.1 kB / 350.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 350.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005946/0.1452, allocations: 139.8 kB / 350.3 MB, free: 13.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00152/0.1467, allocations: 1.266 MB / 351.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1477, allocations: 0.5416 MB / 352.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1478, allocations: 0 / 352.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.1483, allocations: 379.6 kB / 352.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.1488, allocations: 73.36 kB / 352.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.1531, allocations: 2.455 MB / 355 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.1536, allocations: 0.824 MB / 355.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.1538, allocations: 43.28 kB / 355.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.154, allocations: 135.4 kB / 356 MB, free: 7.367 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.154, allocations: 0 / 356 MB, free: 7.367 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.1811, allocations: 9.579 MB / 365.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.1814, allocations: 262.6 kB / 365.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.333, allocations: 0 / 365.8 MB, free: 13.41 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat