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.001072/0.001072, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007653/0.0007651, allocations: 86.69 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.243e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 47.59 MB / 363.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.4455, allocations: 80.01 MB / 443.2 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.4458, allocations: 90.16 kB / 443.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.4622, allocations: 6.223 MB / 449.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4622, allocations: 0 / 449.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.4622, allocations: 8 kB / 449.5 MB, free: 10.13 MB / 330.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.0009257/0.4632, allocations: 0.6126 MB / 450.1 MB, free: 9.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4632, allocations: 12.03 kB / 450.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4633, allocations: 47.78 kB / 450.2 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.4638, allocations: 329.8 kB / 450.5 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.4638, allocations: 12 kB / 450.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.4639, allocations: 27.92 kB / 450.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003848/0.4643, allocations: 207.6 kB / 450.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.4648, allocations: 307.7 kB / 451.1 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4648, allocations: 7.984 kB / 451.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.4649, allocations: 4 kB / 451.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4649, allocations: 8 kB / 451.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.4667, allocations: 1.405 MB / 452.5 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.467, allocations: 217.5 kB / 452.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.4673, allocations: 152.9 kB / 452.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.4673, allocations: 4.234 kB / 452.8 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.4677, allocations: 213.3 kB / 453.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.4677, allocations: 0 / 453.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006082/0.4683, allocations: 293.7 kB / 453.3 MB, free: 6.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.4684, allocations: 110.2 kB / 453.4 MB, free: 6.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.4686, allocations: 236.6 kB / 453.7 MB, free: 6.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.4687, allocations: 25.7 kB / 453.7 MB, free: 6.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.4688, allocations: 210.4 kB / 453.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.4689, allocations: 92.47 kB / 454 MB, free: 6.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.4689, allocations: 0 / 454 MB, free: 6.168 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4691, allocations: 348.5 kB / 454.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.4692, allocations: 67.81 kB / 454.4 MB, free: 5.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.4694, allocations: 185.9 kB / 454.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.4696, allocations: 97.89 kB / 454.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4696, allocations: 0 / 454.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005461/0.4701, allocations: 338.5 kB / 455 MB, free: 5.258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4701, allocations: 8 kB / 455 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4702, allocations: 4 kB / 455 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002978/0.4705, allocations: 82.39 kB / 455.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.4707, allocations: 59.84 kB / 455.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.4724, allocations: 1.731 MB / 456.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.4727, allocations: 31.67 kB / 456.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.4727, allocations: 15.06 kB / 456.9 MB, free: 3.441 MB / 330.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,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 () * 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.000131/0.4728, allocations: 125.9 kB / 457.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005265/0.4734, allocations: 297.8 kB / 457.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.4734, allocations: 31.62 kB / 457.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.4735, allocations: 41.47 kB / 457.4 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4736, allocations: 8.031 kB / 457.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.4736, allocations: 0 / 457.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4736, allocations: 0 / 457.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.4742, allocations: 0.5018 MB / 457.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4742, allocations: 0 / 457.9 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.4744, allocations: 34.3 kB / 458 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.4746, allocations: 80.22 kB / 458 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4746, allocations: 0 / 458 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.4761, allocations: 1.722 MB / 459.8 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4762, allocations: 3.984 kB / 459.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.4768, allocations: 464.2 kB / 460.2 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.477, allocations: 129.5 kB / 460.4 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.477, allocations: 3.953 kB / 460.4 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.4772, allocations: 11.98 kB / 460.4 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.4773, allocations: 27.45 kB / 460.4 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.4773, allocations: 15.38 kB / 460.4 MB, free: 292 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.4775, allocations: 182.7 kB / 460.6 MB, free: 140 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4775, allocations: 0 / 460.6 MB, free: 140 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000482/0.478, allocations: 107.6 kB / 460.7 MB, free: 32 kB / 330.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001041/0.479, allocations: 1.074 MB / 461.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005835/0.4796, allocations: 363.6 kB / 462.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4796, allocations: 4.375 kB / 462.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.4799, allocations: 250.3 kB / 462.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.4802, allocations: 35.25 kB / 462.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4813, allocations: 0.5384 MB / 462.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.4817, allocations: 0.8067 MB / 463.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.4818, allocations: 31.28 kB / 463.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.482, allocations: 124.5 kB / 463.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.482, allocations: 0 / 463.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.5071, allocations: 6.431 MB / 470.3 MB, free: 6.656 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.5073, allocations: 188.7 kB / 470.5 MB, free: 6.469 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.491, allocations: 0 / 470.5 MB, free: 6.469 MB / 346.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