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.001111/0.001111, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008676/0.0008676, allocations: 95.86 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002288/0.0002288, allocations: 4 kB / 358 MB, free: 9.242 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2066, allocations: 51.47 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3118, allocations: 87.52 MB / 497 MB, free: 3.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.3121, allocations: 76.73 kB / 497.1 MB, free: 2.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2288/0.541, allocations: 32.88 MB / 0.5175 GB, free: 85.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.541, allocations: 0 / 0.5175 GB, free: 85.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.787e-05/0.5411, allocations: 53.88 kB / 0.5176 GB, free: 85.31 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.003132/0.5443, allocations: 2.11 MB / 0.5197 GB, free: 84.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5443, allocations: 12.03 kB / 0.5197 GB, free: 84.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002953/0.5446, allocations: 306.8 kB / 0.52 GB, free: 84.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/0.5451, allocations: 264.8 kB / 0.5202 GB, free: 84.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.5469, allocations: 1.222 MB / 0.5214 GB, free: 83.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.547, allocations: 163.8 kB / 0.5216 GB, free: 83.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.5473, allocations: 207.3 kB / 0.5218 GB, free: 83.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.5503, allocations: 2.579 MB / 0.5243 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.5503, allocations: 7.906 kB / 0.5243 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.5505, allocations: 89.3 kB / 0.5244 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.5505, allocations: 50.06 kB / 0.5244 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/0.553, allocations: 1.942 MB / 0.5263 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008324/0.5613, allocations: 7.504 MB / 0.5336 GB, free: 75.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.5629, allocations: 2.361 MB / 0.5359 GB, free: 73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-05/0.563, allocations: 16.56 kB / 0.536 GB, free: 72.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.563, allocations: 43.5 kB / 0.536 GB, free: 72.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.585e-06/0.563, allocations: 4 kB / 0.536 GB, free: 72.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.00555/0.5685, allocations: 4.279 MB / 0.5402 GB, free: 68.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.5686, allocations: 60.41 kB / 0.5402 GB, free: 68.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.5693, allocations: 0.7656 MB / 0.541 GB, free: 67.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.5693, allocations: 49.7 kB / 0.541 GB, free: 67.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.5696, allocations: 0.8216 MB / 0.5418 GB, free: 66.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.5698, allocations: 323.1 kB / 0.5421 GB, free: 66.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.5698, allocations: 20 kB / 0.5422 GB, free: 66.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.51e-05/0.5699, allocations: 349.9 kB / 0.5425 GB, free: 66.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.5705, allocations: 0.4977 MB / 0.543 GB, free: 65.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.5711, allocations: 0.6777 MB / 0.5436 GB, free: 64.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.5718, allocations: 0.5807 MB / 0.5442 GB, free: 64.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5718, allocations: 4 kB / 0.5442 GB, free: 64.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001889/0.5737, allocations: 1.644 MB / 0.5458 GB, free: 62.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5737, allocations: 8 kB / 0.5458 GB, free: 62.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.5737, allocations: 13.84 kB / 0.5458 GB, free: 62.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008284/0.5746, allocations: 470.9 kB / 0.5463 GB, free: 62.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.5752, allocations: 175.7 kB / 0.5465 GB, free: 61.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005857/0.581, allocations: 8.603 MB / 0.5549 GB, free: 52.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.5815, allocations: 47.95 kB / 0.5549 GB, free: 52.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.5816, allocations: 36 kB / 0.5549 GB, free: 52.73 MB / 378.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 () * Number of clocked 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.0007584/0.5824, allocations: 0.6426 MB / 0.5556 GB, free: 52.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.5825, allocations: 94.88 kB / 0.5557 GB, free: 51.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.5845, allocations: 1.557 MB / 0.5572 GB, free: 50.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.5845, allocations: 8 kB / 0.5572 GB, free: 50.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5845, allocations: 3.953 kB / 0.5572 GB, free: 50.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5845, allocations: 7.984 kB / 0.5572 GB, free: 50.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/0.5891, allocations: 3.527 MB / 0.5606 GB, free: 46.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.5891, allocations: 4.531 kB / 0.5607 GB, free: 46.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.5896, allocations: 127.8 kB / 0.5608 GB, free: 46.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007833/0.5904, allocations: 463.1 kB / 0.5612 GB, free: 46.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.5905, allocations: 24 kB / 0.5612 GB, free: 46.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005655/0.5961, allocations: 8.517 MB / 0.5696 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5962, allocations: 4.031 kB / 0.5696 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.5987, allocations: 2.358 MB / 0.5719 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.5992, allocations: 283.8 kB / 0.5721 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.5993, allocations: 20 kB / 0.5722 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.5997, allocations: 47.91 kB / 0.5722 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.5999, allocations: 84.88 kB / 0.5723 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.6, allocations: 27.98 kB / 0.5723 GB, free: 34.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005843/0.6005, allocations: 0.6005 MB / 0.5729 GB, free: 33.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6005, allocations: 0 / 0.5729 GB, free: 33.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001272/0.6018, allocations: 399.9 kB / 0.5733 GB, free: 33.26 MB / 378.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 () * Number of clocked 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.003057/0.6049, allocations: 3.119 MB / 0.5763 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.607, allocations: 1.882 MB / 0.5782 GB, free: 28.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.607, allocations: 4.125 kB / 0.5782 GB, free: 28.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.6083, allocations: 1.315 MB / 0.5794 GB, free: 26.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/0.6092, allocations: 262.9 kB / 0.5797 GB, free: 26.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.621, allocations: 12.64 MB / 0.592 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.6221, allocations: 1.753 MB / 0.5937 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004425/0.6225, allocations: 180.7 kB / 0.5939 GB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/0.6231, allocations: 0.6281 MB / 0.5945 GB, free: 10.97 MB / 378.7 MB Notification: Performance of SimCode: time 4.619e-06/0.6231, allocations: 4 kB / 0.5945 GB, free: 10.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.6691, allocations: 30.71 MB / 0.6245 GB, free: 12.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.6693, allocations: 214.8 kB / 0.6247 GB, free: 12.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.18, allocations: 0 / 0.6247 GB, free: 12.36 MB / 410.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