Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001531, allocations: 185.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 95.17 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005095, allocations: 12 kB / 327.1 MB, free: 76 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3307, allocations: 47.56 MB / 374.6 MB, free: 45.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.4603, allocations: 80.84 MB / 455.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.4607, allocations: 83.95 kB / 455.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03052/0.4912, allocations: 7.111 MB / 462.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4913, allocations: 0 / 462.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.562e-05/0.4913, allocations: 8.219 kB / 462.7 MB, free: 8.535 MB / 346.7 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.001825/0.4931, allocations: 0.6932 MB / 463.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.4932, allocations: 12.02 kB / 463.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.4934, allocations: 82.47 kB / 463.5 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.4936, allocations: 55.34 kB / 463.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.4943, allocations: 363.1 kB / 463.9 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.4944, allocations: 29 kB / 463.9 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4945, allocations: 44 kB / 464 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.4957, allocations: 441.5 kB / 464.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.4958, allocations: 8 kB / 464.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.4958, allocations: 23.98 kB / 464.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.4959, allocations: 8 kB / 464.4 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.4969, allocations: 315.8 kB / 464.7 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.5008, allocations: 1.853 MB / 466.6 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.5021, allocations: 0.6056 MB / 467.2 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.5021, allocations: 4.328 kB / 467.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007135/0.5029, allocations: 285 kB / 467.5 MB, free: 3.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.347e-06/0.5029, allocations: 3.938 kB / 467.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.004098/0.507, allocations: 0.8316 MB / 468.3 MB, free: 2.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.5072, allocations: 93.09 kB / 468.4 MB, free: 2.477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.5078, allocations: 271.7 kB / 468.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.5079, allocations: 29.7 kB / 468.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.5082, allocations: 274.8 kB / 469 MB, free: 1.898 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.5084, allocations: 134.1 kB / 469.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.5084, allocations: 11.94 kB / 469.1 MB, free: 1.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5086, allocations: 326.8 kB / 469.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.5091, allocations: 117.1 kB / 469.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.5096, allocations: 255.8 kB / 469.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.5101, allocations: 144.3 kB / 469.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5101, allocations: 0 / 469.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00146/0.5116, allocations: 498.6 kB / 470.4 MB, free: 380 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5116, allocations: 4.438 kB / 470.4 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.5116, allocations: 8 kB / 470.4 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.5124, allocations: 144.8 kB / 470.6 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.5129, allocations: 63.91 kB / 470.6 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.5172, allocations: 2.345 MB / 473 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.5177, allocations: 39.59 kB / 473 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.5178, allocations: 20 kB / 473 MB, free: 13.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (39): * Single equations (assignments): 38 * 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.0003474/0.5181, allocations: 178.4 kB / 473.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.5182, allocations: 35.62 kB / 473.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.5184, allocations: 48.3 kB / 473.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.5184, allocations: 4 kB / 473.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5184, allocations: 3.953 kB / 473.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.5184, allocations: 0 / 473.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.5207, allocations: 1.018 MB / 474.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5207, allocations: 0 / 474.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.5211, allocations: 39.92 kB / 474.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000671/0.5218, allocations: 137.4 kB / 474.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.5218, allocations: 8 kB / 474.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/0.526, allocations: 2.337 MB / 476.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5261, allocations: 0 / 476.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.528, allocations: 0.7154 MB / 477.5 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.5283, allocations: 152.6 kB / 477.7 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.5284, allocations: 12 kB / 477.7 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.5287, allocations: 12 kB / 477.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5289, allocations: 47.89 kB / 477.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.5289, allocations: 8 kB / 477.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.5293, allocations: 219.1 kB / 478 MB, free: 8.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5293, allocations: 0 / 478 MB, free: 8.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008176/0.5301, allocations: 143.7 kB / 478.1 MB, free: 8.277 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.002257/0.5324, allocations: 1.269 MB / 479.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.5339, allocations: 0.534 MB / 479.9 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5339, allocations: 0 / 479.9 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.5348, allocations: 387.2 kB / 480.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.5355, allocations: 72.59 kB / 480.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.5395, allocations: 3.692 MB / 484.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.54, allocations: 0.836 MB / 484.9 MB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.5404, allocations: 139.4 kB / 485 MB, free: 1.164 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5404, allocations: 0 / 485 MB, free: 1.164 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.796/3.337, allocations: 8.378 MB / 493.4 MB, free: 8.797 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat