Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001007, allocations: 181.4 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008929/0.0008926, allocations: 100.6 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002708, allocations: 11.98 kB / 328.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2181, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09636/0.3145, allocations: 90.31 MB / 466.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.3147, allocations: 83.95 kB / 466.3 MB, free: 6.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3095/0.6242, allocations: 63.28 MB / 0.5172 GB, free: 88.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6243, allocations: 0 / 0.5172 GB, free: 88.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002532/0.6245, allocations: 73.28 kB / 0.5172 GB, free: 88.17 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007138/0.6317, allocations: 2.499 MB / 0.5197 GB, free: 87.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.6317, allocations: 7.156 kB / 0.5197 GB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/0.6329, allocations: 342.6 kB / 0.52 GB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.6345, allocations: 306.7 kB / 0.5203 GB, free: 86.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/0.6386, allocations: 1.579 MB / 0.5219 GB, free: 86.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.6387, allocations: 160.1 kB / 0.522 GB, free: 86.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006575/0.6394, allocations: 218.6 kB / 0.5222 GB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005898/0.6453, allocations: 3.111 MB / 0.5253 GB, free: 84.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.6454, allocations: 0 / 0.5253 GB, free: 84.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.6456, allocations: 101.6 kB / 0.5254 GB, free: 84.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.525e-05/0.6457, allocations: 111 kB / 0.5255 GB, free: 84.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.6493, allocations: 2.539 MB / 0.5279 GB, free: 83.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.661, allocations: 8.907 MB / 0.5366 GB, free: 77.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.6635, allocations: 3.356 MB / 0.5399 GB, free: 74.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.6638, allocations: 134.3 kB / 0.54 GB, free: 73.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.6638, allocations: 55.8 kB / 0.5401 GB, free: 73.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 2.875e-06/0.6639, allocations: 0 / 0.5401 GB, free: 73.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.008808/0.6727, allocations: 5.689 MB / 0.5457 GB, free: 68.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.6727, allocations: 68.72 kB / 0.5457 GB, free: 67.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.6746, allocations: 1.339 MB / 0.547 GB, free: 66.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-05/0.6747, allocations: 49.7 kB / 0.5471 GB, free: 66.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.6752, allocations: 0.9355 MB / 0.548 GB, free: 65.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.6754, allocations: 440.2 kB / 0.5484 GB, free: 65.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.6755, allocations: 24 kB / 0.5484 GB, free: 65.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.6756, allocations: 361.9 kB / 0.5488 GB, free: 64.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008089/0.6764, allocations: 0.7013 MB / 0.5495 GB, free: 64.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008499/0.6772, allocations: 0.8503 MB / 0.5503 GB, free: 63.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009249/0.6782, allocations: 0.8145 MB / 0.5511 GB, free: 62.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6782, allocations: 0 / 0.5511 GB, free: 62.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002949/0.6811, allocations: 2.31 MB / 0.5533 GB, free: 60.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6812, allocations: 8 kB / 0.5533 GB, free: 60.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.6812, allocations: 4 kB / 0.5534 GB, free: 60.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.6827, allocations: 0.7095 MB / 0.554 GB, free: 59.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.6834, allocations: 203.5 kB / 0.5542 GB, free: 59.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009112/0.6925, allocations: 10.71 MB / 0.5647 GB, free: 47.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.6943, allocations: 51.95 kB / 0.5647 GB, free: 47.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.6945, allocations: 44 kB / 0.5648 GB, free: 47.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001548/0.696, allocations: 0.8183 MB / 0.5656 GB, free: 47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.6964, allocations: 162.1 kB / 0.5657 GB, free: 46.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.6993, allocations: 2.192 MB / 0.5679 GB, free: 44.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.6993, allocations: 16 kB / 0.5679 GB, free: 44.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6993, allocations: 7.516 kB / 0.5679 GB, free: 44.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.6993, allocations: 3.984 kB / 0.5679 GB, free: 44.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006534/0.7058, allocations: 4.738 MB / 0.5725 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7059, allocations: 4 kB / 0.5725 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/0.7065, allocations: 167.3 kB / 0.5727 GB, free: 39.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.7079, allocations: 0.686 MB / 0.5734 GB, free: 38.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/0.708, allocations: 31.98 kB / 0.5734 GB, free: 38.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008635/0.7166, allocations: 10.62 MB / 0.5838 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7167, allocations: 7.969 kB / 0.5838 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/0.7209, allocations: 3.245 MB / 0.5869 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.7223, allocations: 407.1 kB / 0.5873 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.7225, allocations: 31.98 kB / 0.5874 GB, free: 24.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007895/0.7233, allocations: 67.95 kB / 0.5874 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.7236, allocations: 113.1 kB / 0.5875 GB, free: 23.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.921e-05/0.7237, allocations: 39.64 kB / 0.5876 GB, free: 23.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001333/0.725, allocations: 1.052 MB / 0.5886 GB, free: 22.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7251, allocations: 4 kB / 0.5886 GB, free: 22.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002026/0.7271, allocations: 0.5351 MB / 0.5891 GB, free: 22.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004289/0.7314, allocations: 4.031 MB / 0.5931 GB, free: 18.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003314/0.7347, allocations: 2.416 MB / 0.5954 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.7348, allocations: 0.875 kB / 0.5954 GB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002032/0.7368, allocations: 1.64 MB / 0.597 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.7394, allocations: 475.3 kB / 0.5975 GB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.7575, allocations: 15.73 MB / 0.6128 GB, free: 13.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.7593, allocations: 2.078 MB / 0.6149 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009951/0.7603, allocations: 305.3 kB / 0.6152 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009395/0.7612, allocations: 0.7805 MB / 0.6159 GB, free: 10.2 MB / 394.7 MB Notification: Performance of SimCode: time 4.629e-06/0.7612, allocations: 7.938 kB / 0.6159 GB, free: 10.19 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2323/0.9935, allocations: 47.33 MB / 0.6622 GB, free: 118.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/0.9937, allocations: 230.8 kB / 0.6624 GB, free: 117.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/4.06, allocations: 0 / 0.6624 GB, free: 117.9 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat