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.001091/0.001091, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.31/1.31, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008993/0.0008992, allocations: 97.88 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.559e-05, allocations: 0 / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09449, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4372, allocations: 90.99 MB / 485.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.4375, allocations: 85.61 kB / 485.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.182/0.6196, allocations: 63.8 MB / 0.5363 GB, free: 12.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6196, allocations: 0 / 0.5363 GB, free: 12.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002097/0.6199, allocations: 59.94 kB / 0.5364 GB, free: 12.06 MB / 426.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.006921/0.6268, allocations: 2.286 MB / 0.5386 GB, free: 9.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.6269, allocations: 8.031 kB / 0.5386 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008387/0.6277, allocations: 328.6 kB / 0.539 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.6289, allocations: 320.7 kB / 0.5393 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/0.6331, allocations: 1.561 MB / 0.5408 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.6333, allocations: 160.7 kB / 0.5409 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/0.6339, allocations: 215.9 kB / 0.5411 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007677/0.6416, allocations: 3.036 MB / 0.5441 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/0.6417, allocations: 3.938 kB / 0.5441 GB, free: 3.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003566/0.6421, allocations: 92 kB / 0.5442 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.6422, allocations: 108.4 kB / 0.5443 GB, free: 3.684 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004718/0.6469, allocations: 2.446 MB / 0.5467 GB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2511/0.8981, allocations: 8.897 MB / 0.5554 GB, free: 92.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.9012, allocations: 3.315 MB / 0.5586 GB, free: 90.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.9032, allocations: 1.296 MB / 0.5599 GB, free: 90.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.9035, allocations: 140.2 kB / 0.56 GB, free: 90.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.9036, allocations: 50.19 kB / 0.5601 GB, free: 90.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 5.209e-06/0.9036, allocations: 4.312 kB / 0.5601 GB, free: 90.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.007595/0.9112, allocations: 4.09 MB / 0.5641 GB, free: 89.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.9113, allocations: 65.5 kB / 0.5641 GB, free: 89.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/0.9136, allocations: 1.327 MB / 0.5654 GB, free: 89.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.9138, allocations: 49.02 kB / 0.5655 GB, free: 89.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006846/0.9145, allocations: 0.9371 MB / 0.5664 GB, free: 89.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.9149, allocations: 441.3 kB / 0.5668 GB, free: 89.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.9149, allocations: 26.62 kB / 0.5668 GB, free: 89.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.915, allocations: 357.5 kB / 0.5672 GB, free: 88.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009737/0.916, allocations: 0.6566 MB / 0.5678 GB, free: 88.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.9171, allocations: 0.8138 MB / 0.5686 GB, free: 88.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.9182, allocations: 0.779 MB / 0.5694 GB, free: 88.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9182, allocations: 4.062 kB / 0.5694 GB, free: 88.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003465/0.9217, allocations: 2.225 MB / 0.5715 GB, free: 88.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.9217, allocations: 11.42 kB / 0.5716 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.9217, allocations: 7.109 kB / 0.5716 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.9234, allocations: 0.698 MB / 0.5722 GB, free: 88.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008116/0.9242, allocations: 202.9 kB / 0.5724 GB, free: 88.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/0.9334, allocations: 10.49 MB / 0.5827 GB, free: 82.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.9346, allocations: 51.08 kB / 0.5827 GB, free: 82.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/0.9347, allocations: 43.44 kB / 0.5828 GB, free: 82.47 MB / 426.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.0002513/0.935, allocations: 176.5 kB / 0.5829 GB, free: 82.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.9352, allocations: 159.2 kB / 0.5831 GB, free: 82.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.9381, allocations: 2.107 MB / 0.5851 GB, free: 81.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.9381, allocations: 19.33 kB / 0.5852 GB, free: 81.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9381, allocations: 3.375 kB / 0.5852 GB, free: 81.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.9381, allocations: 6.938 kB / 0.5852 GB, free: 81.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006333/0.9444, allocations: 4.681 MB / 0.5897 GB, free: 79.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.9445, allocations: 7.031 kB / 0.5898 GB, free: 79.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.9451, allocations: 155.2 kB / 0.5899 GB, free: 79.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.9465, allocations: 0.6964 MB / 0.5906 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.402e-05/0.9466, allocations: 30.62 kB / 0.5906 GB, free: 79.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00838/0.955, allocations: 10.37 MB / 0.6007 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.955, allocations: 6.969 kB / 0.6007 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.9589, allocations: 3.159 MB / 0.6038 GB, free: 70.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008106/0.9597, allocations: 415.6 kB / 0.6042 GB, free: 70.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.9599, allocations: 30.94 kB / 0.6043 GB, free: 70.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.9606, allocations: 70.05 kB / 0.6043 GB, free: 70.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.9609, allocations: 115 kB / 0.6044 GB, free: 70.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.277e-05/0.961, allocations: 37.27 kB / 0.6045 GB, free: 70.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.9622, allocations: 1.037 MB / 0.6055 GB, free: 69.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9622, allocations: 0 / 0.6055 GB, free: 69.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001645/0.9639, allocations: 0.5244 MB / 0.606 GB, free: 69.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 75 * 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.003878/0.9678, allocations: 4.095 MB / 0.61 GB, free: 67.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.9706, allocations: 2.327 MB / 0.6123 GB, free: 66.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9706, allocations: 3.562 kB / 0.6123 GB, free: 66.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.9723, allocations: 1.58 MB / 0.6138 GB, free: 65.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.9742, allocations: 499.9 kB / 0.6143 GB, free: 65.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/0.9814, allocations: 4.452 MB / 0.6186 GB, free: 63.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.9829, allocations: 2.087 MB / 0.6207 GB, free: 62.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009295/0.9838, allocations: 311.6 kB / 0.621 GB, free: 62.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007612/0.9846, allocations: 0.7809 MB / 0.6217 GB, free: 61.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.9846, allocations: 0 / 0.6217 GB, free: 61.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06735/1.052, allocations: 47.4 MB / 0.668 GB, free: 29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/1.052, allocations: 210.9 kB / 0.6682 GB, free: 28.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/4.272, allocations: 4.062 kB / 0.6682 GB, free: 28.77 MB / 426.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