Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 180.9 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.000869, allocations: 102.8 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000238/0.0002381, allocations: 8 kB / 351.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2049, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.308, allocations: 91.06 MB / 492.6 MB, free: 5.371 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.3083, allocations: 91.89 kB / 492.7 MB, free: 5.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3411/0.6494, allocations: 63.61 MB / 0.5433 GB, free: 69.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6495, allocations: 0 / 0.5433 GB, free: 69.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001686/0.6497, allocations: 59.94 kB / 0.5434 GB, free: 69.09 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.005591/0.6553, allocations: 2.538 MB / 0.5458 GB, free: 66.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6553, allocations: 12.03 kB / 0.5458 GB, free: 66.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007205/0.656, allocations: 328.7 kB / 0.5462 GB, free: 66.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/0.6568, allocations: 312.7 kB / 0.5465 GB, free: 65.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.6596, allocations: 1.572 MB / 0.548 GB, free: 64.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.6597, allocations: 164.7 kB / 0.5482 GB, free: 64.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.66, allocations: 219.9 kB / 0.5484 GB, free: 63.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/0.6643, allocations: 3.084 MB / 0.5514 GB, free: 60.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.6643, allocations: 0 / 0.5514 GB, free: 60.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.6645, allocations: 99.98 kB / 0.5515 GB, free: 60.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.672e-05/0.6646, allocations: 108.4 kB / 0.5516 GB, free: 60.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.6682, allocations: 2.528 MB / 0.554 GB, free: 57.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.681, allocations: 8.889 MB / 0.5627 GB, free: 48.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.6836, allocations: 3.358 MB / 0.566 GB, free: 45.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.684, allocations: 142.3 kB / 0.5661 GB, free: 44.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.684, allocations: 47.88 kB / 0.5662 GB, free: 44.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.927e-06/0.684, allocations: 0 / 0.5662 GB, free: 44.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.00906/0.6931, allocations: 5.699 MB / 0.5717 GB, free: 39.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6932, allocations: 64.72 kB / 0.5718 GB, free: 38.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.6951, allocations: 1.335 MB / 0.5731 GB, free: 37.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.6952, allocations: 49.7 kB / 0.5732 GB, free: 37.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.6957, allocations: 0.9331 MB / 0.5741 GB, free: 36.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.696, allocations: 441.6 kB / 0.5745 GB, free: 36.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.6961, allocations: 24 kB / 0.5745 GB, free: 36.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6962, allocations: 361.9 kB / 0.5749 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008836/0.6971, allocations: 0.6935 MB / 0.5755 GB, free: 35.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009516/0.6981, allocations: 0.8582 MB / 0.5764 GB, free: 34.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.6991, allocations: 0.8144 MB / 0.5772 GB, free: 33.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6991, allocations: 4 kB / 0.5772 GB, free: 33.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003229/0.7024, allocations: 2.31 MB / 0.5794 GB, free: 31.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.7024, allocations: 8 kB / 0.5794 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7024, allocations: 7.953 kB / 0.5794 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.704, allocations: 0.7102 MB / 0.5801 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.7048, allocations: 203.7 kB / 0.5803 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009198/0.714, allocations: 10.73 MB / 0.5908 GB, free: 18.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.7153, allocations: 52.03 kB / 0.5909 GB, free: 18.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.7154, allocations: 47.98 kB / 0.5909 GB, free: 18.77 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.001262/0.7167, allocations: 0.8125 MB / 0.5917 GB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.717, allocations: 162.1 kB / 0.5919 GB, free: 17.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.72, allocations: 2.183 MB / 0.594 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.72, allocations: 15.95 kB / 0.594 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.72, allocations: 4 kB / 0.594 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.72, allocations: 11.91 kB / 0.594 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006291/0.7263, allocations: 4.727 MB / 0.5986 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.7264, allocations: 0 / 0.5986 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.727, allocations: 167.8 kB / 0.5988 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.7285, allocations: 0.6867 MB / 0.5995 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/0.7286, allocations: 31.94 kB / 0.5995 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009115/0.7377, allocations: 10.63 MB / 0.6099 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.7378, allocations: 96 / 0.6099 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/0.7429, allocations: 3.272 MB / 0.6131 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.7442, allocations: 411.1 kB / 0.6135 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.7445, allocations: 31.95 kB / 0.6135 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008065/0.7453, allocations: 75.94 kB / 0.6136 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.7456, allocations: 109.1 kB / 0.6137 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.793e-05/0.7457, allocations: 32 kB / 0.6137 GB, free: 10.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001636/0.7474, allocations: 1.052 MB / 0.6147 GB, free: 9.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7474, allocations: 8 kB / 0.6147 GB, free: 9.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001852/0.7492, allocations: 0.5273 MB / 0.6153 GB, free: 9.082 MB / 394.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.005423/0.7547, allocations: 4.046 MB / 0.6192 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.7584, allocations: 2.432 MB / 0.6216 GB, free: 2.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7585, allocations: 4.312 kB / 0.6216 GB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.761, allocations: 1.632 MB / 0.6232 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.7632, allocations: 477.1 kB / 0.6236 GB, free: 356 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02483/0.7881, allocations: 15.72 MB / 0.639 GB, free: 220 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/0.79, allocations: 2.086 MB / 0.641 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001112/0.7911, allocations: 309.3 kB / 0.6413 GB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.7923, allocations: 0.7766 MB / 0.6421 GB, free: 13 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7923, allocations: 0 / 0.6421 GB, free: 13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2644/1.057, allocations: 47.36 MB / 0.6883 GB, free: 122.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/1.057, allocations: 223.9 kB / 0.6885 GB, free: 122.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/4.147, allocations: 3.938 kB / 0.6885 GB, free: 122.1 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat