Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 202.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.567/1.567, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009111/0.0009111, allocations: 98.3 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.333e-05, allocations: 4 kB / 343.8 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 51.48 MB / 395.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3505/0.4694, allocations: 86.79 MB / 482 MB, free: 6.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.4696, allocations: 74.91 kB / 482.1 MB, free: 6.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07769/0.5473, allocations: 32.63 MB / 0.5027 GB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5473, allocations: 0 / 0.5027 GB, free: 10.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001804/0.5475, allocations: 51.94 kB / 0.5027 GB, free: 10.82 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005537/0.5531, allocations: 1.965 MB / 0.5046 GB, free: 8.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5531, allocations: 12.03 kB / 0.5047 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.5544, allocations: 269.2 kB / 0.5049 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.5574, allocations: 1.212 MB / 0.5061 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.5575, allocations: 64 kB / 0.5062 GB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006226/0.5581, allocations: 131.9 kB / 0.5063 GB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004721/0.5629, allocations: 1.754 MB / 0.508 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00563/0.5685, allocations: 2.233 MB / 0.5102 GB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.5686, allocations: 7.984 kB / 0.5102 GB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.5688, allocations: 4 kB / 0.5102 GB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.5689, allocations: 52 kB / 0.5102 GB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.5811, allocations: 7.128 MB / 0.5172 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.5834, allocations: 2.29 MB / 0.5194 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.585, allocations: 0.8994 MB / 0.5203 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.399e-05/0.5851, allocations: 12.78 kB / 0.5203 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.5852, allocations: 39.34 kB / 0.5204 GB, free: 8.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.996e-06/0.5852, allocations: 0 / 0.5204 GB, free: 8.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.005769/0.5909, allocations: 2.794 MB / 0.5231 GB, free: 5.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.591, allocations: 64.19 kB / 0.5232 GB, free: 5.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.5923, allocations: 0.6798 MB / 0.5238 GB, free: 4.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.5924, allocations: 25.7 kB / 0.5238 GB, free: 4.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/0.5931, allocations: 0.8293 MB / 0.5247 GB, free: 3.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.5934, allocations: 307.3 kB / 0.5249 GB, free: 3.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.5934, allocations: 0 / 0.5249 GB, free: 3.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5936, allocations: 353.9 kB / 0.5253 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006737/0.5943, allocations: 462.4 kB / 0.5257 GB, free: 2.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/0.5951, allocations: 0.6357 MB / 0.5263 GB, free: 1.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.5959, allocations: 0.5371 MB / 0.5269 GB, free: 1.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.596, allocations: 0 / 0.5269 GB, free: 1.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002509/0.5985, allocations: 1.499 MB / 0.5283 GB, free: 15.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5985, allocations: 8 kB / 0.5283 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.5985, allocations: 4 kB / 0.5283 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.5996, allocations: 459 kB / 0.5288 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.6003, allocations: 175.7 kB / 0.529 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008439/0.6088, allocations: 8.154 MB / 0.5369 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.6096, allocations: 31.98 kB / 0.5369 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.6098, allocations: 43.97 kB / 0.537 GB, free: 6.395 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.6101, allocations: 130.2 kB / 0.5371 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002389/0.6125, allocations: 1.318 MB / 0.5384 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.6128, allocations: 102.8 kB / 0.5385 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.6151, allocations: 1.396 MB / 0.5399 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.6151, allocations: 8 kB / 0.5399 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6152, allocations: 0 / 0.5399 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6152, allocations: 7.984 kB / 0.5399 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/0.6211, allocations: 3.126 MB / 0.5429 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.6211, allocations: 4.125 kB / 0.5429 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/0.6217, allocations: 135.9 kB / 0.5431 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000971/0.6227, allocations: 447.1 kB / 0.5435 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.6228, allocations: 11.94 kB / 0.5435 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008207/0.631, allocations: 8.068 MB / 0.5514 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.631, allocations: 8.094 kB / 0.5514 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.6347, allocations: 2.196 MB / 0.5535 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/0.6353, allocations: 275.8 kB / 0.5538 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.6357, allocations: 3.984 kB / 0.5538 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/0.6363, allocations: 31.95 kB / 0.5538 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.6366, allocations: 88.59 kB / 0.5539 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.6367, allocations: 28 kB / 0.5539 GB, free: 4.371 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.6378, allocations: 0.5303 MB / 0.5545 GB, free: 3.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6378, allocations: 0 / 0.5545 GB, free: 3.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002273/0.6401, allocations: 360 kB / 0.5548 GB, free: 3.492 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004335/0.6444, allocations: 2.925 MB / 0.5577 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.6473, allocations: 1.746 MB / 0.5594 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6473, allocations: 5.25 kB / 0.5594 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.6491, allocations: 1.208 MB / 0.5605 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.6507, allocations: 240.9 kB / 0.5608 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00886/0.6595, allocations: 3.337 MB / 0.564 GB, free: 9.816 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/0.6617, allocations: 1.749 MB / 0.5657 GB, free: 8.035 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000717/0.6624, allocations: 180.5 kB / 0.5659 GB, free: 7.855 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009838/0.6634, allocations: 0.6281 MB / 0.5665 GB, free: 7.227 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6634, allocations: 0 / 0.5665 GB, free: 7.227 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2814/0.9448, allocations: 28.59 MB / 0.5944 GB, free: 100.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/0.945, allocations: 139.6 kB / 0.5946 GB, free: 100.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.692, allocations: 0 / 0.5946 GB, free: 100.6 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat