Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001139, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.907/1.907, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008782/0.000878, allocations: 101 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.08e-05, allocations: 4 kB / 343.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 51.49 MB / 395.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3756/0.4993, allocations: 85.7 MB / 481 MB, free: 7.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.4997, allocations: 86.88 kB / 481.1 MB, free: 7.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04897/0.5486, allocations: 20.72 MB / 0.49 GB, free: 6.121 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5487, allocations: 0 / 0.49 GB, free: 6.121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.185e-05/0.5488, allocations: 31.94 kB / 0.4901 GB, free: 6.09 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002777/0.5516, allocations: 1.306 MB / 0.4913 GB, free: 4.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5516, allocations: 12.03 kB / 0.4914 GB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/0.5522, allocations: 186.3 kB / 0.4915 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/0.5561, allocations: 1.657 MB / 0.4932 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.5562, allocations: 35.38 kB / 0.4932 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.5563, allocations: 56 kB / 0.4932 GB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/0.558, allocations: 1.117 MB / 0.4943 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.5597, allocations: 1.252 MB / 0.4956 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.5597, allocations: 7.844 kB / 0.4956 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.5598, allocations: 0 / 0.4956 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.5599, allocations: 49.8 kB / 0.4956 GB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005852/0.5657, allocations: 4.168 MB / 0.4997 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.5673, allocations: 1.907 MB / 0.5015 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/0.5681, allocations: 0.607 MB / 0.5021 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/0.5682, allocations: 8.781 kB / 0.5021 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007731/0.5689, allocations: 0.5473 MB / 0.5027 GB, free: 10.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.474e-06/0.569, allocations: 4 kB / 0.5027 GB, free: 10.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.001784/0.5708, allocations: 1.169 MB / 0.5038 GB, free: 9.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.5708, allocations: 111.6 kB / 0.5039 GB, free: 8.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/0.5717, allocations: 0.6715 MB / 0.5046 GB, free: 8.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.5718, allocations: 25.7 kB / 0.5046 GB, free: 8.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/0.5722, allocations: 487.8 kB / 0.5051 GB, free: 7.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.5725, allocations: 236.5 kB / 0.5053 GB, free: 7.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.5725, allocations: 0 / 0.5053 GB, free: 7.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.5727, allocations: 398.7 kB / 0.5057 GB, free: 7.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.5731, allocations: 361.4 kB / 0.506 GB, free: 6.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.5737, allocations: 0.4942 MB / 0.5065 GB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.5742, allocations: 405.9 kB / 0.5069 GB, free: 5.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5742, allocations: 0 / 0.5069 GB, free: 5.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001714/0.5759, allocations: 1.178 MB / 0.508 GB, free: 4.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.576, allocations: 8 kB / 0.5081 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.576, allocations: 4 kB / 0.5081 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.577, allocations: 453 kB / 0.5085 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.5774, allocations: 99.81 kB / 0.5086 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/0.5835, allocations: 4.944 MB / 0.5134 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.5842, allocations: 67.39 kB / 0.5135 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.5842, allocations: 28.05 kB / 0.5135 GB, free: 14.94 MB / 394.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: 15 ($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.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.5844, allocations: 139.8 kB / 0.5136 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001762/0.5862, allocations: 1.167 MB / 0.5148 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5863, allocations: 83 kB / 0.5149 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.5866, allocations: 108.6 kB / 0.515 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.5866, allocations: 8 kB / 0.515 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5867, allocations: 4 kB / 0.515 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5867, allocations: 3.984 kB / 0.515 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.59, allocations: 2.389 MB / 0.5173 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.59, allocations: 0 / 0.5173 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.5903, allocations: 67.91 kB / 0.5174 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008474/0.5911, allocations: 436.5 kB / 0.5178 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.5912, allocations: 15.94 kB / 0.5178 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.5967, allocations: 4.921 MB / 0.5226 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5968, allocations: 0 / 0.5226 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.5989, allocations: 1.783 MB / 0.5244 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.5993, allocations: 275.8 kB / 0.5246 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.5994, allocations: 4 kB / 0.5246 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.5998, allocations: 39.91 kB / 0.5247 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.6, allocations: 68.67 kB / 0.5247 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.6, allocations: 27.98 kB / 0.5247 GB, free: 3.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006406/0.6007, allocations: 0.5147 MB / 0.5253 GB, free: 2.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6007, allocations: 0 / 0.5253 GB, free: 2.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009132/0.6016, allocations: 322.9 kB / 0.5256 GB, free: 2.367 MB / 394.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (40): * Single equations (assignments): 36 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.002389/0.604, allocations: 2.359 MB / 0.5279 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.6058, allocations: 1.171 MB / 0.529 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6058, allocations: 0.875 kB / 0.529 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6068, allocations: 0.7545 MB / 0.5297 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.6078, allocations: 218.8 kB / 0.53 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.6117, allocations: 2.073 MB / 0.532 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/0.6126, allocations: 1.349 MB / 0.5333 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.613, allocations: 134.9 kB / 0.5334 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.6134, allocations: 375.3 kB / 0.5338 GB, free: 9.836 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6134, allocations: 0 / 0.5338 GB, free: 9.836 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05056/0.664, allocations: 23.93 MB / 0.5572 GB, free: 2.137 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.6643, allocations: 192.9 kB / 0.5573 GB, free: 1.941 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.067, allocations: 0 / 0.5573 GB, free: 1.941 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat