Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001239/0.00124, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 86.53 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.413e-05, allocations: 4 kB / 350.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 51.49 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.454, allocations: 82.55 MB / 484.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.4543, allocations: 79.52 kB / 484.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.4706, allocations: 6.617 MB / 491.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4706, allocations: 0 / 491.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.4707, allocations: 15.98 kB / 491.4 MB, free: 1.336 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009573/0.4716, allocations: 0.6221 MB / 492 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4717, allocations: 12.03 kB / 492 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.4718, allocations: 71.34 kB / 492.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.4721, allocations: 76.27 kB / 492.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.4726, allocations: 336.8 kB / 492.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.4726, allocations: 27.28 kB / 492.5 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.4727, allocations: 36.81 kB / 492.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.4733, allocations: 379.6 kB / 492.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.4734, allocations: 0 / 492.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.4734, allocations: 14.44 kB / 493 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4734, allocations: 12 kB / 493 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.4738, allocations: 236.4 kB / 493.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.4762, allocations: 1.517 MB / 494.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.4766, allocations: 233.5 kB / 494.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.4769, allocations: 149.3 kB / 495.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.477, allocations: 8.234 kB / 495.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.4774, allocations: 213.9 kB / 495.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.945e-06/0.4774, allocations: 0 / 495.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007633/0.4781, allocations: 320.8 kB / 495.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.4783, allocations: 110.8 kB / 495.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.4786, allocations: 266.7 kB / 496 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.4786, allocations: 33.7 kB / 496 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.4788, allocations: 224.2 kB / 496.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.4789, allocations: 94.7 kB / 496.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.4789, allocations: 8.031 kB / 496.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4791, allocations: 342.8 kB / 496.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.4793, allocations: 76 kB / 496.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.4795, allocations: 205 kB / 497 MB, free: 11.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.4797, allocations: 96.5 kB / 497 MB, free: 11.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.4797, allocations: 4 kB / 497.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006803/0.4804, allocations: 380.4 kB / 497.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.4805, allocations: 11.98 kB / 497.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4805, allocations: 4 kB / 497.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.4808, allocations: 86.36 kB / 497.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.4811, allocations: 55.91 kB / 497.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.4834, allocations: 1.789 MB / 499.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.4837, allocations: 35.69 kB / 499.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.4838, allocations: 19.98 kB / 499.4 MB, free: 9.383 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.0001459/0.4839, allocations: 132.9 kB / 499.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.484, allocations: 39.56 kB / 499.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.795e-05/0.4841, allocations: 39.98 kB / 499.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4841, allocations: 4 kB / 499.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4841, allocations: 3.953 kB / 499.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4841, allocations: 4 kB / 499.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.485, allocations: 0.5693 MB / 0.4885 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.485, allocations: 5.969 kB / 0.4885 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.4852, allocations: 31.97 kB / 0.4885 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.4854, allocations: 76.77 kB / 0.4886 GB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.4855, allocations: 11.94 kB / 0.4886 GB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.4871, allocations: 1.793 MB / 0.4904 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4872, allocations: 0 / 0.4904 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/0.488, allocations: 491.9 kB / 0.4908 GB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4881, allocations: 136.7 kB / 0.491 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.4882, allocations: 12.06 kB / 0.491 GB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.4884, allocations: 23.92 kB / 0.491 GB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.4885, allocations: 19.97 kB / 0.491 GB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.4885, allocations: 11.98 kB / 0.491 GB, free: 5.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00024/0.4887, allocations: 214.2 kB / 0.4912 GB, free: 5.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4887, allocations: 0.6562 kB / 0.4912 GB, free: 5.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.4892, allocations: 123.6 kB / 0.4913 GB, free: 5.414 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.001146/0.4904, allocations: 1.112 MB / 0.4924 GB, free: 4.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.491, allocations: 391.7 kB / 0.4928 GB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.491, allocations: 0 / 0.4928 GB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.4914, allocations: 267.3 kB / 0.4931 GB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4917, allocations: 55.7 kB / 0.4931 GB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4929, allocations: 0.5688 MB / 0.4937 GB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4932, allocations: 0.823 MB / 0.4945 GB, free: 2.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.4934, allocations: 34.97 kB / 0.4945 GB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.4936, allocations: 123.4 kB / 0.4946 GB, free: 1.934 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4936, allocations: 3.938 kB / 0.4946 GB, free: 1.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.5171, allocations: 7.563 MB / 0.502 GB, free: 10.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/0.5175, allocations: 228.5 kB / 0.5022 GB, free: 10.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.644, allocations: 1.594 kB / 0.5022 GB, free: 10.41 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat