Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001545/0.001546, allocations: 198.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.7/1.7, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008235/0.0008235, allocations: 104.1 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.261e-05, allocations: 4 kB / 343.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 51.48 MB / 395.3 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.4764, allocations: 91.14 MB / 486.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4766, allocations: 79.58 kB / 486.5 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1551/0.6317, allocations: 63.07 MB / 0.5367 GB, free: 7.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6318, allocations: 0 / 0.5367 GB, free: 7.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002127/0.632, allocations: 59.94 kB / 0.5367 GB, free: 7.727 MB / 410.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.006036/0.638, allocations: 2.295 MB / 0.539 GB, free: 5.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.6381, allocations: 8.031 kB / 0.539 GB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.6396, allocations: 348.7 kB / 0.5393 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.6428, allocations: 1.565 MB / 0.5409 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.6429, allocations: 68 kB / 0.5409 GB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.6432, allocations: 131.9 kB / 0.541 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003792/0.647, allocations: 2.312 MB / 0.5433 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/0.6512, allocations: 2.703 MB / 0.5459 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.6513, allocations: 0 / 0.5459 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.6515, allocations: 7.938 kB / 0.5459 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.6516, allocations: 112.4 kB / 0.5461 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.6656, allocations: 8.437 MB / 0.5543 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.6687, allocations: 3.267 MB / 0.5575 GB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.6703, allocations: 1.214 MB / 0.5587 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.6706, allocations: 134.4 kB / 0.5588 GB, free: 392 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.6707, allocations: 47.81 kB / 0.5588 GB, free: 336 kB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 3.848e-06/0.6707, allocations: 7.938 kB / 0.5589 GB, free: 328 kB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.006815/0.6775, allocations: 3.862 MB / 0.5626 GB, free: 12.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.6776, allocations: 68.66 kB / 0.5627 GB, free: 12.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.6792, allocations: 1.057 MB / 0.5637 GB, free: 11.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.6793, allocations: 25.7 kB / 0.5637 GB, free: 11.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007031/0.68, allocations: 0.9512 MB / 0.5647 GB, free: 10.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.6804, allocations: 425.5 kB / 0.5651 GB, free: 9.824 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.6804, allocations: 3.938 kB / 0.5651 GB, free: 9.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6806, allocations: 361.9 kB / 0.5654 GB, free: 9.461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008391/0.6814, allocations: 0.6351 MB / 0.566 GB, free: 8.824 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.6824, allocations: 0.7855 MB / 0.5668 GB, free: 7.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6834, allocations: 0.7557 MB / 0.5676 GB, free: 7.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6834, allocations: 0 / 0.5676 GB, free: 7.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00341/0.6869, allocations: 2.099 MB / 0.5696 GB, free: 5.121 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.6869, allocations: 8 kB / 0.5696 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.6869, allocations: 4 kB / 0.5696 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.6888, allocations: 0.6902 MB / 0.5703 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/0.6896, allocations: 207.8 kB / 0.5705 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2679/0.9575, allocations: 10.11 MB / 0.5804 GB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.9588, allocations: 28.38 kB / 0.5804 GB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.9589, allocations: 43.59 kB / 0.5804 GB, free: 81.27 MB / 442.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 () * 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.0002423/0.9591, allocations: 128.5 kB / 0.5806 GB, free: 81.17 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002518/0.9616, allocations: 1.86 MB / 0.5824 GB, free: 81.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.9619, allocations: 147.2 kB / 0.5825 GB, free: 81.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.9646, allocations: 1.976 MB / 0.5844 GB, free: 80.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.9646, allocations: 17.02 kB / 0.5845 GB, free: 80.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.9646, allocations: 3.438 kB / 0.5845 GB, free: 80.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.9646, allocations: 6.375 kB / 0.5845 GB, free: 80.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/0.9706, allocations: 4.248 MB / 0.5886 GB, free: 80.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.9706, allocations: 3.953 kB / 0.5886 GB, free: 80.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006576/0.9713, allocations: 168.8 kB / 0.5888 GB, free: 80.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.9726, allocations: 0.6695 MB / 0.5894 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-05/0.9727, allocations: 12.98 kB / 0.5894 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008256/0.981, allocations: 10.03 MB / 0.5992 GB, free: 75.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.981, allocations: 6.859 kB / 0.5993 GB, free: 75.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.9847, allocations: 2.992 MB / 0.6022 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007817/0.9855, allocations: 381.3 kB / 0.6025 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.9857, allocations: 9.297 kB / 0.6025 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.9864, allocations: 53.47 kB / 0.6026 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.9867, allocations: 110.4 kB / 0.6027 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/0.9868, allocations: 36.08 kB / 0.6027 GB, free: 74.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.9878, allocations: 0.8176 MB / 0.6035 GB, free: 74.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9878, allocations: 0 / 0.6035 GB, free: 74.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001679/0.9895, allocations: 481.4 kB / 0.604 GB, free: 74.77 MB / 442.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 () * 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.003786/0.9933, allocations: 3.778 MB / 0.6077 GB, free: 73.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.9961, allocations: 2.227 MB / 0.6099 GB, free: 73.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.9961, allocations: 0 / 0.6099 GB, free: 73.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.9978, allocations: 1.51 MB / 0.6113 GB, free: 72.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.9995, allocations: 333.6 kB / 0.6116 GB, free: 72.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/1.007, allocations: 4.293 MB / 0.6158 GB, free: 71.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/1.009, allocations: 2.084 MB / 0.6179 GB, free: 71.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001076/1.01, allocations: 281 kB / 0.6181 GB, free: 71.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008254/1.011, allocations: 0.7741 MB / 0.6189 GB, free: 70.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/1.011, allocations: 0 / 0.6189 GB, free: 70.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07974/1.09, allocations: 39.53 MB / 0.6575 GB, free: 68.98 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.091, allocations: 162.9 kB / 0.6577 GB, free: 68.78 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/4.223, allocations: 2.5 kB / 0.6577 GB, free: 68.78 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat