Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.627/1.627, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009641/0.0009638, allocations: 99.52 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.82e-05, allocations: 4 kB / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4579, allocations: 84.51 MB / 479.8 MB, free: 8.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4582, allocations: 92.47 kB / 479.9 MB, free: 8.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.032/0.4902, allocations: 13.78 MB / 493.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4902, allocations: 0 / 493.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.216e-05/0.4903, allocations: 24.14 kB / 493.7 MB, free: 12.97 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001511/0.4918, allocations: 0.9608 MB / 494.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4919, allocations: 8.031 kB / 494.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.4923, allocations: 130.5 kB / 494.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.4932, allocations: 0.6234 MB / 495.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.4932, allocations: 23.31 kB / 495.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.4933, allocations: 40 kB / 495.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009925/0.4943, allocations: 0.6745 MB / 496.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.4955, allocations: 0.792 MB / 496.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4955, allocations: 0 / 496.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.4956, allocations: 0 / 496.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.4956, allocations: 37.25 kB / 497 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.4995, allocations: 2.711 MB / 499.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.5002, allocations: 0.709 MB / 0.4887 GB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.5007, allocations: 306.6 kB / 0.489 GB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.47e-05/0.5007, allocations: 4.328 kB / 0.489 GB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/0.5012, allocations: 351.7 kB / 0.4893 GB, free: 6.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/0.5012, allocations: 0 / 0.4893 GB, free: 6.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001073/0.5023, allocations: 0.6118 MB / 0.4899 GB, free: 6.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.5024, allocations: 118.7 kB / 0.49 GB, free: 6.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.5029, allocations: 479.6 kB / 0.4905 GB, free: 6.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.503, allocations: 25.7 kB / 0.4905 GB, free: 5.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.5033, allocations: 364.2 kB / 0.4908 GB, free: 5.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.5034, allocations: 129 kB / 0.491 GB, free: 5.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.5034, allocations: 0 / 0.491 GB, free: 5.594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5036, allocations: 369 kB / 0.4913 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.5039, allocations: 188.9 kB / 0.4915 GB, free: 5.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.5043, allocations: 313.2 kB / 0.4918 GB, free: 4.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.5046, allocations: 220.9 kB / 0.492 GB, free: 4.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5046, allocations: 7.938 kB / 0.492 GB, free: 4.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001013/0.5056, allocations: 0.6516 MB / 0.4926 GB, free: 4.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.5057, allocations: 12 kB / 0.4927 GB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5057, allocations: 4 kB / 0.4927 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/0.5062, allocations: 194.2 kB / 0.4928 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.5066, allocations: 83.52 kB / 0.4929 GB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.5096, allocations: 2.586 MB / 0.4955 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.5101, allocations: 43.67 kB / 0.4955 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.5101, allocations: 19.98 kB / 0.4955 GB, free: 1.664 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: 12 ($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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.5103, allocations: 128.2 kB / 0.4956 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009796/0.5113, allocations: 0.626 MB / 0.4962 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.5114, allocations: 59.3 kB / 0.4963 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.5116, allocations: 65.3 kB / 0.4964 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.5116, allocations: 4 kB / 0.4964 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.5116, allocations: 5.812 kB / 0.4964 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5116, allocations: 7.984 kB / 0.4964 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.5136, allocations: 1.448 MB / 0.4978 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5136, allocations: 0 / 0.4978 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.5139, allocations: 52 kB / 0.4978 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003971/0.5143, allocations: 196.8 kB / 0.498 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.5143, allocations: 4 kB / 0.498 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/0.517, allocations: 2.556 MB / 0.5005 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.517, allocations: 0 / 0.5005 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.5184, allocations: 1.014 MB / 0.5015 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.5187, allocations: 204.2 kB / 0.5017 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/0.5188, allocations: 0 / 0.5017 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.5191, allocations: 23.97 kB / 0.5017 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.5192, allocations: 43.94 kB / 0.5018 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.5192, allocations: 11.98 kB / 0.5018 GB, free: 10.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004382/0.5197, allocations: 374.9 kB / 0.5022 GB, free: 10.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5197, allocations: 7.938 kB / 0.5022 GB, free: 10.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007381/0.5204, allocations: 191.5 kB / 0.5023 GB, free: 10.43 MB / 378.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/0.5222, allocations: 1.648 MB / 0.504 GB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.5232, allocations: 0.6456 MB / 0.5046 GB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5232, allocations: 0.9375 kB / 0.5046 GB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.5238, allocations: 441 kB / 0.505 GB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.5244, allocations: 116.6 kB / 0.5051 GB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.5268, allocations: 1.268 MB / 0.5064 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.5274, allocations: 1.086 MB / 0.5074 GB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.5277, allocations: 88.64 kB / 0.5075 GB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.528, allocations: 247.3 kB / 0.5077 GB, free: 4.785 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.528, allocations: 4 kB / 0.5077 GB, free: 4.781 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.5656, allocations: 13.34 MB / 0.5208 GB, free: 7.609 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.5658, allocations: 201.7 kB / 0.521 GB, free: 7.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.967, allocations: 3.188 kB / 0.521 GB, free: 7.41 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat