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: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008772/0.0008772, allocations: 108.3 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002072/0.0002071, allocations: 4 kB / 358 MB, free: 9.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2194, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09767/0.3171, allocations: 85.24 MB / 494.8 MB, free: 5.324 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.3174, allocations: 97.08 kB / 494.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03583/0.3533, allocations: 13.91 MB / 0.4968 GB, free: 7.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.3533, allocations: 0 / 0.4968 GB, free: 7.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.474e-05/0.3534, allocations: 23.94 kB / 0.4969 GB, free: 7.199 MB / 378.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.001876/0.3552, allocations: 1.054 MB / 0.4979 GB, free: 6.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3553, allocations: 8.031 kB / 0.4979 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.3554, allocations: 118.5 kB / 0.498 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/0.3558, allocations: 130.8 kB / 0.4981 GB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.3569, allocations: 0.6186 MB / 0.4987 GB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.3569, allocations: 53.3 kB / 0.4988 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.357, allocations: 68 kB / 0.4988 GB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.3584, allocations: 0.9075 MB / 0.4997 GB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3584, allocations: 0 / 0.4997 GB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.3585, allocations: 31.98 kB / 0.4998 GB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/0.3586, allocations: 33.23 kB / 0.4998 GB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3599, allocations: 0.7702 MB / 0.5005 GB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003957/0.3638, allocations: 2.846 MB / 0.5033 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1588/0.5226, allocations: 0.7437 MB / 0.5041 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.5227, allocations: 5.781 kB / 0.5041 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007073/0.5234, allocations: 386.2 kB / 0.5044 GB, free: 91.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.5234, allocations: 0 / 0.5044 GB, free: 91.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002865/0.5263, allocations: 1.24 MB / 0.5056 GB, free: 90.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.5264, allocations: 87.95 kB / 0.5057 GB, free: 90.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/0.5271, allocations: 0.5174 MB / 0.5062 GB, free: 90.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.5272, allocations: 36.23 kB / 0.5063 GB, free: 90.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.5275, allocations: 355.2 kB / 0.5066 GB, free: 90.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5276, allocations: 138.7 kB / 0.5067 GB, free: 90.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.5276, allocations: 10.12 kB / 0.5067 GB, free: 90.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5277, allocations: 363.7 kB / 0.5071 GB, free: 90.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.5281, allocations: 229.8 kB / 0.5073 GB, free: 90.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.5286, allocations: 349.1 kB / 0.5076 GB, free: 90.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.529, allocations: 253.9 kB / 0.5079 GB, free: 90.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.529, allocations: 1.281 kB / 0.5079 GB, free: 90.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001162/0.5301, allocations: 0.7598 MB / 0.5086 GB, free: 89.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5302, allocations: 5.312 kB / 0.5086 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5302, allocations: 4.656 kB / 0.5086 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.5307, allocations: 204.3 kB / 0.5088 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.5311, allocations: 78.48 kB / 0.5089 GB, free: 89.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.5339, allocations: 2.741 MB / 0.5116 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.5343, allocations: 56.47 kB / 0.5116 GB, free: 88.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.5343, allocations: 16.38 kB / 0.5117 GB, free: 88.57 MB / 378.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: 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 () * Number of clocked 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.0004259/0.5347, allocations: 329.8 kB / 0.512 GB, free: 88.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.5348, allocations: 56.47 kB / 0.512 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.535, allocations: 65.83 kB / 0.5121 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.535, allocations: 3.719 kB / 0.5121 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.535, allocations: 0 / 0.5121 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.535, allocations: 13.7 kB / 0.5121 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.5369, allocations: 1.535 MB / 0.5136 GB, free: 87.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5369, allocations: 0 / 0.5136 GB, free: 87.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.5372, allocations: 54.89 kB / 0.5137 GB, free: 87.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.5375, allocations: 199.9 kB / 0.5138 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.5376, allocations: 9.719 kB / 0.5139 GB, free: 87.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.5397, allocations: 2.711 MB / 0.5165 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5397, allocations: 2.812 kB / 0.5165 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.541, allocations: 1.122 MB / 0.5176 GB, free: 85.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.5412, allocations: 199.1 kB / 0.5178 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.5413, allocations: 15.77 kB / 0.5178 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.5416, allocations: 26.5 kB / 0.5178 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5417, allocations: 52.45 kB / 0.5179 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.5417, allocations: 10.23 kB / 0.5179 GB, free: 84.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003711/0.5421, allocations: 417.9 kB / 0.5183 GB, free: 84.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5421, allocations: 0 / 0.5183 GB, free: 84.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006146/0.5427, allocations: 214.5 kB / 0.5185 GB, free: 84.72 MB / 378.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: 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) * Number of clocked states: 0 () * 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.001405/0.5441, allocations: 1.686 MB / 0.5201 GB, free: 83.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009516/0.5451, allocations: 0.7316 MB / 0.5209 GB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5451, allocations: 0.875 kB / 0.5209 GB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.5456, allocations: 497.1 kB / 0.5213 GB, free: 83.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.5461, allocations: 125.8 kB / 0.5214 GB, free: 83.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.5488, allocations: 4.492 MB / 0.5258 GB, free: 79.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.5492, allocations: 1.087 MB / 0.5269 GB, free: 78.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.5495, allocations: 95.7 kB / 0.527 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.5497, allocations: 243.6 kB / 0.5272 GB, free: 78.49 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5497, allocations: 0 / 0.5272 GB, free: 78.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.5739, allocations: 14.79 MB / 0.5417 GB, free: 67.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.5742, allocations: 266.4 kB / 0.5419 GB, free: 66.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.695, allocations: 0 / 0.5419 GB, free: 66.66 MB / 378.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