Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 175.4 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.312/1.312, allocations: 221.3 MB / 235.5 MB, free: 2.902 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.0009137/0.0009136, allocations: 83.61 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.739e-05, allocations: 4 kB / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 50.41 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4296, allocations: 92.59 MB / 486.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4298, allocations: 83.95 kB / 487 MB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.533/0.9628, allocations: 116.9 MB / 0.5897 GB, free: 85.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.9629, allocations: 0 / 0.5897 GB, free: 85.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005745/0.9635, allocations: 108.9 kB / 0.5898 GB, free: 85.36 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01228/0.9758, allocations: 3.86 MB / 0.5936 GB, free: 83.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.9758, allocations: 10.28 kB / 0.5936 GB, free: 83.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002102/0.9779, allocations: 0.5555 MB / 0.5942 GB, free: 83.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.9811, allocations: 0.5544 MB / 0.5947 GB, free: 83.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006238/0.9873, allocations: 2.715 MB / 0.5974 GB, free: 82.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.9876, allocations: 297.3 kB / 0.5976 GB, free: 82.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.9888, allocations: 380.8 kB / 0.598 GB, free: 82.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.9999, allocations: 5.552 MB / 0.6034 GB, free: 80.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-05/1, allocations: 3.719 kB / 0.6034 GB, free: 80.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004875/1.001, allocations: 170.4 kB / 0.6036 GB, free: 80.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/1.001, allocations: 203.6 kB / 0.6038 GB, free: 80.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007276/1.008, allocations: 4.516 MB / 0.6082 GB, free: 78.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02875/1.037, allocations: 16.43 MB / 0.6242 GB, free: 70.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005807/1.043, allocations: 6.718 MB / 0.6308 GB, free: 65.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/1.046, allocations: 2.619 MB / 0.6334 GB, free: 64.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003647/1.047, allocations: 148.4 kB / 0.6335 GB, free: 64.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/1.047, allocations: 64.56 kB / 0.6336 GB, free: 64.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.96e-06/1.047, allocations: 0 / 0.6336 GB, free: 64.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.01392/1.061, allocations: 7.729 MB / 0.6411 GB, free: 57.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.061, allocations: 89.3 kB / 0.6412 GB, free: 57.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004555/1.065, allocations: 2.329 MB / 0.6435 GB, free: 55.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005961/1.066, allocations: 69.7 kB / 0.6435 GB, free: 55.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/1.067, allocations: 1.632 MB / 0.6451 GB, free: 53.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.068, allocations: 0.8427 MB / 0.6459 GB, free: 53.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/1.069, allocations: 48 kB / 0.646 GB, free: 53.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/1.069, allocations: 407.7 kB / 0.6464 GB, free: 52.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/1.071, allocations: 1.282 MB / 0.6476 GB, free: 51.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.073, allocations: 1.57 MB / 0.6492 GB, free: 49.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/1.075, allocations: 1.523 MB / 0.6507 GB, free: 48.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.075, allocations: 4 kB / 0.6507 GB, free: 48.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006835/1.082, allocations: 4.317 MB / 0.6549 GB, free: 44.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/1.082, allocations: 15.98 kB / 0.6549 GB, free: 44.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.082, allocations: 8 kB / 0.6549 GB, free: 44.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003283/1.085, allocations: 1.397 MB / 0.6563 GB, free: 42.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/1.087, allocations: 391.5 kB / 0.6566 GB, free: 42.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/1.107, allocations: 23.42 MB / 0.6795 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/1.11, allocations: 95.92 kB / 0.6796 GB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005692/1.11, allocations: 83.98 kB / 0.6797 GB, free: 17.32 MB / 426.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.0009659/1.111, allocations: 228.3 kB / 0.6799 GB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.112, allocations: 300.5 kB / 0.6802 GB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006557/1.119, allocations: 4.088 MB / 0.6842 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.119, allocations: 24 kB / 0.6842 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/1.119, allocations: 8 kB / 0.6842 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/1.119, allocations: 23.89 kB / 0.6842 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.136, allocations: 8.798 MB / 0.6928 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.136, allocations: 0 / 0.6928 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.137, allocations: 303.6 kB / 0.6931 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/1.14, allocations: 1.371 MB / 0.6944 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/1.141, allocations: 59.94 kB / 0.6945 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2758/1.417, allocations: 23.17 MB / 0.7171 GB, free: 86.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.417, allocations: 6.891 kB / 0.7171 GB, free: 86.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.428, allocations: 5.996 MB / 0.723 GB, free: 85.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/1.431, allocations: 0.6795 MB / 0.7236 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005302/1.431, allocations: 55.3 kB / 0.7237 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.433, allocations: 133.3 kB / 0.7238 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000674/1.433, allocations: 211.2 kB / 0.724 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.434, allocations: 72.5 kB / 0.7241 GB, free: 85.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003651/1.437, allocations: 1.812 MB / 0.7259 GB, free: 85.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.437, allocations: 0 / 0.7259 GB, free: 85.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006656/1.444, allocations: 0.9745 MB / 0.7268 GB, free: 85.66 MB / 442.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.01245/1.456, allocations: 6.86 MB / 0.7335 GB, free: 84.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006531/1.463, allocations: 4.743 MB / 0.7382 GB, free: 83.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.463, allocations: 6.469 kB / 0.7382 GB, free: 83.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003979/1.467, allocations: 3.275 MB / 0.7414 GB, free: 82.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004675/1.472, allocations: 0.8957 MB / 0.7422 GB, free: 82.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/1.487, allocations: 8.3 MB / 0.7503 GB, free: 80.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/1.489, allocations: 3.244 MB / 0.7535 GB, free: 79.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001877/1.491, allocations: 0.5656 MB / 0.7541 GB, free: 79.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.493, allocations: 1.451 MB / 0.7555 GB, free: 78.03 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/1.493, allocations: 3 kB / 0.7555 GB, free: 78.03 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.614, allocations: 88.28 MB / 0.8417 GB, free: 21.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/1.615, allocations: 197.6 kB / 0.8419 GB, free: 21.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.41/6.025, allocations: 0 / 0.8419 GB, free: 21.73 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat