Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.001588/0.001588, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001073/0.001073, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.361e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.5404, allocations: 91.82 MB / 461 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5408, allocations: 90.56 kB / 461.1 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.759/1.3, allocations: 116.5 MB / 0.5641 GB, free: 78.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.3, allocations: 0 / 0.5641 GB, free: 78.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004695/1.3, allocations: 112.5 kB / 0.5642 GB, free: 78.27 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01412/1.314, allocations: 3.817 MB / 0.5679 GB, free: 76.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.315, allocations: 11.06 kB / 0.5679 GB, free: 76.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002191/1.317, allocations: 0.558 MB / 0.5684 GB, free: 76.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/1.32, allocations: 0.5493 MB / 0.569 GB, free: 76.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008503/1.328, allocations: 2.716 MB / 0.5716 GB, free: 75.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/1.329, allocations: 295.8 kB / 0.5719 GB, free: 75.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/1.33, allocations: 393.8 kB / 0.5723 GB, free: 75.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/1.346, allocations: 5.57 MB / 0.5777 GB, free: 75.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/1.347, allocations: 2.719 kB / 0.5777 GB, free: 75.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008599/1.347, allocations: 178.3 kB / 0.5779 GB, free: 75.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002693/1.348, allocations: 205.3 kB / 0.5781 GB, free: 75.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/1.361, allocations: 4.545 MB / 0.5825 GB, free: 74.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04428/1.406, allocations: 16.45 MB / 0.5986 GB, free: 66.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009714/1.415, allocations: 6.715 MB / 0.6052 GB, free: 61.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006029/1.421, allocations: 2.622 MB / 0.6077 GB, free: 60.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/1.422, allocations: 159.5 kB / 0.6079 GB, free: 60.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/1.422, allocations: 59.88 kB / 0.6079 GB, free: 60.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 6.622e-06/1.422, allocations: 0 / 0.6079 GB, free: 60.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.02275/1.445, allocations: 7.734 MB / 0.6155 GB, free: 57.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.445, allocations: 81.48 kB / 0.6156 GB, free: 57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005945/1.451, allocations: 2.338 MB / 0.6178 GB, free: 54.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006052/1.452, allocations: 69.7 kB / 0.6179 GB, free: 54.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.453, allocations: 1.499 MB / 0.6194 GB, free: 53.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.454, allocations: 0.8454 MB / 0.6202 GB, free: 52.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/1.454, allocations: 48 kB / 0.6202 GB, free: 52.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/1.455, allocations: 412.1 kB / 0.6206 GB, free: 52.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/1.458, allocations: 1.281 MB / 0.6219 GB, free: 51.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/1.462, allocations: 1.574 MB / 0.6234 GB, free: 49.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/1.465, allocations: 1.52 MB / 0.6249 GB, free: 48.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/1.465, allocations: 4 kB / 0.6249 GB, free: 48.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01137/1.477, allocations: 4.139 MB / 0.629 GB, free: 44.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/1.477, allocations: 4 kB / 0.629 GB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/1.477, allocations: 8 kB / 0.629 GB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005652/1.483, allocations: 1.401 MB / 0.6303 GB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/1.486, allocations: 395.6 kB / 0.6307 GB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03181/1.518, allocations: 23.42 MB / 0.6536 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/1.521, allocations: 93.97 kB / 0.6537 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006287/1.522, allocations: 83.89 kB / 0.6537 GB, free: 20.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006313/1.522, allocations: 224.3 kB / 0.654 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.523, allocations: 304.5 kB / 0.6543 GB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.534, allocations: 4.083 MB / 0.6582 GB, free: 16.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.128e-05/1.534, allocations: 27.95 kB / 0.6583 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/1.534, allocations: 8 kB / 0.6583 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.918e-05/1.534, allocations: 10.88 kB / 0.6583 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/1.559, allocations: 8.814 MB / 0.6669 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.019e-05/1.559, allocations: 0 / 0.6669 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/1.562, allocations: 295.7 kB / 0.6672 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005545/1.568, allocations: 1.378 MB / 0.6685 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005456/1.568, allocations: 55.98 kB / 0.6686 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3426/1.911, allocations: 23.16 MB / 0.6912 GB, free: 81.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.911, allocations: 4.344 kB / 0.6912 GB, free: 81.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/1.928, allocations: 5.963 MB / 0.697 GB, free: 80.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002978/1.931, allocations: 0.6856 MB / 0.6977 GB, free: 80.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001387/1.933, allocations: 56.48 kB / 0.6977 GB, free: 80.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003592/1.936, allocations: 129.3 kB / 0.6979 GB, free: 80.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/1.938, allocations: 211.3 kB / 0.6981 GB, free: 80.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004367/1.938, allocations: 73.91 kB / 0.6981 GB, free: 80.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005595/1.944, allocations: 1.815 MB / 0.6999 GB, free: 80.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.944, allocations: 0 / 0.6999 GB, free: 80.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006378/1.95, allocations: 0.9705 MB / 0.7009 GB, free: 80.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01789/1.968, allocations: 6.834 MB / 0.7075 GB, free: 79.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01083/1.979, allocations: 4.73 MB / 0.7122 GB, free: 78.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.979, allocations: 0 / 0.7122 GB, free: 78.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00761/1.987, allocations: 3.289 MB / 0.7154 GB, free: 76.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00723/1.994, allocations: 0.8903 MB / 0.7162 GB, free: 76.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/2.02, allocations: 8.151 MB / 0.7242 GB, free: 75.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00554/2.026, allocations: 3.166 MB / 0.7273 GB, free: 74.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003534/2.029, allocations: 1.461 MB / 0.7287 GB, free: 74.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.253e-06/2.029, allocations: 0 / 0.7287 GB, free: 74.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.587/7.616, allocations: 270.9 MB / 0.9933 GB, free: 5.41 MB / 442.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat