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.001082/0.001082, allocations: 180.4 kB / 16.38 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.455/1.455, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0008763/0.0008764, allocations: 100.4 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.000267, allocations: 12 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2207, allocations: 50.4 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.3298, allocations: 92.66 MB / 494.2 MB, free: 3.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.3301, allocations: 87.94 kB / 494.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.454/0.7841, allocations: 116.5 MB / 0.5965 GB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.7841, allocations: 0 / 0.5965 GB, free: 14.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004159/0.7846, allocations: 115.9 kB / 0.5966 GB, free: 14.44 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01074/0.7953, allocations: 4.292 MB / 0.6008 GB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7954, allocations: 8.031 kB / 0.6008 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001839/0.7972, allocations: 0.5633 MB / 0.6014 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.7994, allocations: 0.5567 MB / 0.6019 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005437/0.8048, allocations: 2.725 MB / 0.6046 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.8051, allocations: 292.2 kB / 0.6048 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.8062, allocations: 388 kB / 0.6052 GB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.8179, allocations: 5.632 MB / 0.6107 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.097e-05/0.818, allocations: 0 / 0.6107 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004964/0.8185, allocations: 168 kB / 0.6109 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/0.8187, allocations: 211.9 kB / 0.6111 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009267/0.828, allocations: 4.634 MB / 0.6156 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02953/0.8576, allocations: 16.42 MB / 0.6316 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006552/0.8642, allocations: 6.787 MB / 0.6383 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/0.8646, allocations: 151 kB / 0.6384 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.8647, allocations: 72.45 kB / 0.6385 GB, free: 2.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.518e-06/0.8647, allocations: 0 / 0.6385 GB, free: 2.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.01975/0.8845, allocations: 10.68 MB / 0.6489 GB, free: 7.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.8845, allocations: 77.42 kB / 0.649 GB, free: 7.289 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003944/0.8885, allocations: 2.355 MB / 0.6513 GB, free: 4.918 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004126/0.8889, allocations: 65.7 kB / 0.6513 GB, free: 4.848 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.8904, allocations: 1.636 MB / 0.6529 GB, free: 3.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009884/0.8914, allocations: 0.8471 MB / 0.6538 GB, free: 2.332 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.8915, allocations: 44 kB / 0.6538 GB, free: 2.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.8917, allocations: 406.7 kB / 0.6542 GB, free: 1.887 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.8938, allocations: 1.332 MB / 0.6555 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.8959, allocations: 1.629 MB / 0.6571 GB, free: 14.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.8982, allocations: 1.565 MB / 0.6586 GB, free: 13.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.8982, allocations: 4 kB / 0.6586 GB, free: 13.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00731/0.9055, allocations: 4.449 MB / 0.663 GB, free: 8.707 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.9056, allocations: 8 kB / 0.663 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.9056, allocations: 12 kB / 0.663 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003499/0.9091, allocations: 1.406 MB / 0.6644 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.9109, allocations: 391.5 kB / 0.6647 GB, free: 6.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2353/1.146, allocations: 23.89 MB / 0.6881 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.148, allocations: 91.5 kB / 0.6882 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000327/1.149, allocations: 83.84 kB / 0.6882 GB, free: 74.81 MB / 442.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 () * Number of clocked 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.002419/1.151, allocations: 1.402 MB / 0.6896 GB, free: 74.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/1.152, allocations: 294.8 kB / 0.6899 GB, free: 74.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005735/1.158, allocations: 4.199 MB / 0.694 GB, free: 74.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.158, allocations: 26.12 kB / 0.694 GB, free: 74.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.158, allocations: 6.719 kB / 0.694 GB, free: 74.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/1.158, allocations: 13.88 kB / 0.694 GB, free: 74.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.171, allocations: 8.93 MB / 0.7028 GB, free: 73.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.171, allocations: 0 / 0.7028 GB, free: 73.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.172, allocations: 297.4 kB / 0.703 GB, free: 73.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/1.175, allocations: 1.386 MB / 0.7044 GB, free: 73.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/1.176, allocations: 62.84 kB / 0.7045 GB, free: 73.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/1.194, allocations: 23.66 MB / 0.7276 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.194, allocations: 3.719 kB / 0.7276 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007926/1.202, allocations: 6.153 MB / 0.7336 GB, free: 57.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.204, allocations: 0.6923 MB / 0.7342 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/1.204, allocations: 53.27 kB / 0.7343 GB, free: 56.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.206, allocations: 131.9 kB / 0.7344 GB, free: 56.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004954/1.206, allocations: 219.9 kB / 0.7346 GB, free: 56.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.206, allocations: 66.36 kB / 0.7347 GB, free: 56.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002438/1.209, allocations: 1.839 MB / 0.7365 GB, free: 55.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.209, allocations: 0 / 0.7365 GB, free: 55.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00357/1.212, allocations: 0.9704 MB / 0.7374 GB, free: 55.71 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 () * Number of clocked 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.008207/1.22, allocations: 7.019 MB / 0.7443 GB, free: 52.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006087/1.227, allocations: 4.886 MB / 0.7491 GB, free: 49.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.227, allocations: 2.781 kB / 0.7491 GB, free: 49.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004206/1.231, allocations: 3.364 MB / 0.7523 GB, free: 47.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/1.235, allocations: 0.8869 MB / 0.7532 GB, free: 47.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04413/1.279, allocations: 30 MB / 0.7825 GB, free: 26.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/1.283, allocations: 3.249 MB / 0.7857 GB, free: 23.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002174/1.285, allocations: 0.5696 MB / 0.7862 GB, free: 23.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.287, allocations: 1.453 MB / 0.7877 GB, free: 22.13 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/1.287, allocations: 0 / 0.7877 GB, free: 22.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3349/1.621, allocations: 88.14 MB / 0.8737 GB, free: 103.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.622, allocations: 228.5 kB / 0.8739 GB, free: 103.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.453/6.075, allocations: 3.516 kB / 0.874 GB, free: 103.2 MB / 474.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