Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.0016/0.0016, allocations: 180.6 kB / 17.01 MB, free: 5.121 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.495/1.495, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009643/0.0009642, allocations: 84.23 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002888, allocations: 8 kB / 328.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.234, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08988/0.324, allocations: 80.53 MB / 456.5 MB, free: 124 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.3243, allocations: 87.94 kB / 456.5 MB, free: 36 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.3402, allocations: 6.292 MB / 462.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3402, allocations: 0 / 462.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.3402, allocations: 8 kB / 462.8 MB, free: 9.699 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001015/0.3412, allocations: 0.6579 MB / 463.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3413, allocations: 12.03 kB / 463.5 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.475e-05/0.3414, allocations: 82.45 kB / 463.6 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.3415, allocations: 47.78 kB / 463.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.3419, allocations: 331.1 kB / 464 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.3419, allocations: 25 kB / 464 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.342, allocations: 39.98 kB / 464 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.3426, allocations: 383.2 kB / 464.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3426, allocations: 0 / 464.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.3427, allocations: 16 kB / 464.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3427, allocations: 8 kB / 464.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.3432, allocations: 266.4 kB / 464.7 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.345, allocations: 1.484 MB / 466.2 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.3455, allocations: 247.4 kB / 466.4 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3455, allocations: 8.172 kB / 466.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.3459, allocations: 225.2 kB / 466.6 MB, free: 5.672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.353e-06/0.3459, allocations: 0 / 466.6 MB, free: 5.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.001348/0.3472, allocations: 0.5926 MB / 467.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3473, allocations: 81.11 kB / 467.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.3476, allocations: 263.6 kB / 467.6 MB, free: 4.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.3476, allocations: 41.64 kB / 467.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3477, allocations: 208.4 kB / 467.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.3478, allocations: 94.64 kB / 467.9 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.3478, allocations: 8 kB / 467.9 MB, free: 4.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.348, allocations: 342.8 kB / 468.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3481, allocations: 91.97 kB / 468.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.3484, allocations: 210.5 kB / 468.5 MB, free: 3.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3486, allocations: 118.4 kB / 468.7 MB, free: 3.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3486, allocations: 4 kB / 468.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006394/0.3493, allocations: 413.9 kB / 469.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3493, allocations: 12 kB / 469.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3493, allocations: 0 / 469.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.3496, allocations: 88.8 kB / 469.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.3498, allocations: 55.86 kB / 469.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.3515, allocations: 1.827 MB / 471 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3517, allocations: 39.67 kB / 471.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3517, allocations: 16 kB / 471.1 MB, free: 0.9414 MB / 346.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: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.3519, allocations: 163.3 kB / 471.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.3519, allocations: 31.62 kB / 471.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.217e-05/0.352, allocations: 39.09 kB / 471.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.352, allocations: 8.062 kB / 471.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.352, allocations: 0 / 471.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.352, allocations: 7.938 kB / 471.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.3524, allocations: 409.6 kB / 471.7 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3524, allocations: 0 / 471.7 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.3526, allocations: 35.97 kB / 471.8 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.3528, allocations: 80.75 kB / 471.9 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.3528, allocations: 4 kB / 471.9 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.3544, allocations: 1.823 MB / 473.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3544, allocations: 96 / 473.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.3552, allocations: 0.5183 MB / 474.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3554, allocations: 136.7 kB / 474.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.3554, allocations: 11.94 kB / 474.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3556, allocations: 23.94 kB / 474.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.3557, allocations: 23.97 kB / 474.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.3557, allocations: 7.984 kB / 474.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.3559, allocations: 211.1 kB / 474.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3559, allocations: 0 / 474.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004353/0.3563, allocations: 115.7 kB / 474.7 MB, free: 13.08 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.3575, allocations: 1.054 MB / 475.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.3582, allocations: 426.5 kB / 476.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3582, allocations: 4 kB / 476.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.3586, allocations: 291.6 kB / 476.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3589, allocations: 51.03 kB / 476.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.361, allocations: 3.463 MB / 480 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3614, allocations: 0.8184 MB / 480.8 MB, free: 6.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.3615, allocations: 35.23 kB / 480.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3617, allocations: 119.4 kB / 481 MB, free: 6.645 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3617, allocations: 4 kB / 481 MB, free: 6.641 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.382, allocations: 7.295 MB / 488.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/0.3823, allocations: 264.2 kB / 488.5 MB, free: 15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.405, allocations: 3.906 kB / 488.5 MB, free: 15 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat