Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008792/0.0008794, allocations: 87.88 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.217e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 50.42 MB / 394.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3208/0.4247, allocations: 81.72 MB / 476.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.425, allocations: 85.72 kB / 476.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.4423, allocations: 6.48 MB / 482.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.789e-06/0.4423, allocations: 8 kB / 482.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.4423, allocations: 12 kB / 482.7 MB, free: 15.13 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001017/0.4434, allocations: 0.6194 MB / 483.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4434, allocations: 12.02 kB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.911e-05/0.4435, allocations: 70.53 kB / 483.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.4436, allocations: 51.44 kB / 483.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.4441, allocations: 335 kB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.4441, allocations: 28.72 kB / 483.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.4442, allocations: 40.34 kB / 483.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.4448, allocations: 372.7 kB / 484.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4449, allocations: 0 / 484.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.4449, allocations: 12 kB / 484.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4449, allocations: 8 kB / 484.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.4454, allocations: 235 kB / 484.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.4479, allocations: 1.51 MB / 485.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.4484, allocations: 227.5 kB / 486.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.4487, allocations: 149.3 kB / 486.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.4488, allocations: 8.172 kB / 486.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.4492, allocations: 210 kB / 486.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.4492, allocations: 0 / 486.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006983/0.4499, allocations: 322.4 kB / 486.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.45, allocations: 110.8 kB / 486.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.4502, allocations: 262.7 kB / 487.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.4503, allocations: 33.7 kB / 487.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4504, allocations: 212.4 kB / 487.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.4505, allocations: 98.64 kB / 487.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.4505, allocations: 4 kB / 487.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4506, allocations: 338.8 kB / 487.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4508, allocations: 87.89 kB / 488 MB, free: 9.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.451, allocations: 203.3 kB / 488.2 MB, free: 9.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.4512, allocations: 103 kB / 488.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4512, allocations: 0 / 488.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000581/0.4518, allocations: 389.7 kB / 488.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4518, allocations: 9.562 kB / 488.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4518, allocations: 0 / 488.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.4521, allocations: 80.81 kB / 488.7 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.4523, allocations: 55.91 kB / 488.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.4541, allocations: 1.796 MB / 490.6 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.4543, allocations: 35.88 kB / 490.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.4543, allocations: 16 kB / 490.6 MB, free: 6.672 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($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_p.off,rectifier.diode_n.off) * Number of discrete 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.0001125/0.4544, allocations: 140.8 kB / 490.8 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.4545, allocations: 31.62 kB / 490.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.804e-05/0.4546, allocations: 43.28 kB / 490.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4546, allocations: 4 kB / 490.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.4546, allocations: 0 / 490.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4546, allocations: 0 / 490.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.4552, allocations: 0.5653 MB / 491.4 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4552, allocations: 8 kB / 491.4 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.4554, allocations: 31.98 kB / 491.4 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.4556, allocations: 84.78 kB / 491.5 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4557, allocations: 4 kB / 491.5 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.4573, allocations: 1.794 MB / 493.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4573, allocations: 0 / 493.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.458, allocations: 488.5 kB / 493.8 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.4582, allocations: 128.7 kB / 493.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.4582, allocations: 15.94 kB / 493.9 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.4584, allocations: 12 kB / 494 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.4585, allocations: 31.95 kB / 494 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.4585, allocations: 12 kB / 494 MB, free: 3.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.4587, allocations: 206.2 kB / 494.2 MB, free: 2.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4588, allocations: 3.938 kB / 494.2 MB, free: 2.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.4592, allocations: 115.7 kB / 494.3 MB, free: 2.719 MB / 362.7 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * 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.001096/0.4603, allocations: 1.101 MB / 495.4 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006164/0.4609, allocations: 386.9 kB / 495.8 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4609, allocations: 0 / 495.8 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.4613, allocations: 274.4 kB / 496.1 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.4616, allocations: 54.56 kB / 496.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4627, allocations: 0.5704 MB / 496.7 MB, free: 260 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.4631, allocations: 0.8223 MB / 497.5 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.4632, allocations: 35.23 kB / 497.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4634, allocations: 123.4 kB / 497.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4634, allocations: 4 kB / 497.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.4832, allocations: 7.391 MB / 0.4932 GB, free: 8.137 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.4835, allocations: 232.9 kB / 0.4934 GB, free: 7.824 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.639, allocations: 0 / 0.4934 GB, free: 7.824 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat