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.0009998/0.0009998, allocations: 93.91 kB / 16.32 MB, free: 5.676 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.001244/0.001244, allocations: 182.5 kB / 17.21 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.3 MB / 241.2 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002497, allocations: 8 kB / 300.9 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 50.42 MB / 351.4 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00372/0.1106, allocations: 3.19 MB / 354.5 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1121, allocations: 0.8771 MB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.1123, allocations: 11.94 kB / 355.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.1125, allocations: 55.53 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1128, allocations: 119 kB / 355.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1131, allocations: 115.8 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.1137, allocations: 0.5408 MB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.1141, allocations: 153.7 kB / 356.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.1143, allocations: 187.2 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.1146, allocations: 195 kB / 356.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.1147, allocations: 24 kB / 356.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.239e-05/0.1147, allocations: 28 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.1148, allocations: 91.59 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1149, allocations: 113.5 kB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1154, allocations: 470.6 kB / 357.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1154, allocations: 0 / 357.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1154, allocations: 4 kB / 357.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1154, allocations: 0 / 357.5 MB, free: 13.47 MB / 302.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.001195/0.1166, allocations: 0.6948 MB / 358.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1167, allocations: 12.03 kB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.896e-05/0.1168, allocations: 82.52 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.1169, allocations: 55.34 kB / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.1173, allocations: 351.1 kB / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.1174, allocations: 37 kB / 358.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/0.1174, allocations: 43.98 kB / 358.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.1182, allocations: 457.5 kB / 359.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1182, allocations: 4 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.1183, allocations: 19.95 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1183, allocations: 8 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.1189, allocations: 323.8 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.1215, allocations: 1.871 MB / 361.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/0.1224, allocations: 0.6048 MB / 362 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005721/0.123, allocations: 284.7 kB / 362.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.1231, allocations: 4.328 kB / 362.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.1236, allocations: 269.1 kB / 362.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.474e-06/0.1236, allocations: 0 / 362.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002197/0.1258, allocations: 0.8461 MB / 363.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1259, allocations: 85.06 kB / 363.5 MB, free: 7.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.1262, allocations: 312.5 kB / 363.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.1263, allocations: 41.64 kB / 363.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1264, allocations: 216.3 kB / 364.1 MB, free: 6.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.1266, allocations: 138 kB / 364.2 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.1266, allocations: 8 kB / 364.2 MB, free: 6.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1267, allocations: 350.8 kB / 364.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.127, allocations: 117.1 kB / 364.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.1273, allocations: 257 kB / 364.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.1276, allocations: 140 kB / 365 MB, free: 5.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1276, allocations: 0 / 365 MB, free: 5.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008549/0.1284, allocations: 0.5164 MB / 365.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1285, allocations: 4.469 kB / 365.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1285, allocations: 8 kB / 365.6 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.1289, allocations: 144.8 kB / 365.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.1292, allocations: 67.84 kB / 365.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.1319, allocations: 2.307 MB / 368.1 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.1322, allocations: 43.59 kB / 368.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.1322, allocations: 19.95 kB / 368.1 MB, free: 2.23 MB / 302.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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.0002345/0.1324, allocations: 186.2 kB / 368.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1325, allocations: 35.77 kB / 368.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.612e-05/0.1326, allocations: 48.28 kB / 368.4 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1326, allocations: 8 kB / 368.4 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1326, allocations: 0 / 368.4 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1326, allocations: 0 / 368.4 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.1342, allocations: 1.031 MB / 369.5 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1342, allocations: 0 / 369.5 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1344, allocations: 35.92 kB / 369.5 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/0.1347, allocations: 147.6 kB / 369.6 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.1348, allocations: 15.94 kB / 369.6 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.196/0.3307, allocations: 2.294 MB / 371.9 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3308, allocations: 2.625 kB / 371.9 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3322, allocations: 0.7152 MB / 372.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.3324, allocations: 147.6 kB / 372.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.3325, allocations: 9.047 kB / 372.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.3327, allocations: 19.81 kB / 372.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3328, allocations: 34.08 kB / 372.9 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.3329, allocations: 20.95 kB / 372.9 MB, free: 22.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.3332, allocations: 217.2 kB / 373.1 MB, free: 22.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3332, allocations: 0 / 373.1 MB, free: 22.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006964/0.3339, allocations: 144.9 kB / 373.2 MB, free: 22.75 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_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 (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.001397/0.3353, allocations: 1.276 MB / 374.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3365, allocations: 0.5473 MB / 375.1 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3365, allocations: 0 / 375.1 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.337, allocations: 370 kB / 375.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.3376, allocations: 74.25 kB / 375.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.3417, allocations: 2.469 MB / 378 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.3422, allocations: 0.8249 MB / 378.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.3424, allocations: 40.92 kB / 378.8 MB, free: 19.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.3426, allocations: 136.9 kB / 379 MB, free: 19.39 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3426, allocations: 0 / 379 MB, free: 19.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.369, allocations: 9.596 MB / 388.6 MB, free: 16.81 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.3692, allocations: 264 kB / 388.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.409, allocations: 0 / 388.8 MB, free: 16.45 MB / 302.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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat