Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001043/0.001043, allocations: 182 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008544/0.0008545, allocations: 89.17 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002204/0.0002204, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2506, allocations: 47.57 MB / 375.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.368, allocations: 91.91 MB / 467.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.3683, allocations: 87.95 kB / 467.9 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4348/0.8032, allocations: 116.1 MB / 0.5704 GB, free: 44.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.8032, allocations: 0 / 0.5704 GB, free: 44.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002724/0.8035, allocations: 115.9 kB / 0.5705 GB, free: 44.15 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.009266/0.8128, allocations: 4.253 MB / 0.5746 GB, free: 39.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.8128, allocations: 12.03 kB / 0.5746 GB, free: 39.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001517/0.8144, allocations: 0.5555 MB / 0.5752 GB, free: 39.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.8158, allocations: 0.557 MB / 0.5757 GB, free: 38.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.8203, allocations: 2.737 MB / 0.5784 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.8205, allocations: 291.8 kB / 0.5787 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004728/0.821, allocations: 387.9 kB / 0.579 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008437/0.8294, allocations: 5.659 MB / 0.5846 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-05/0.8295, allocations: 3.938 kB / 0.5846 GB, free: 29.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/0.8299, allocations: 172 kB / 0.5847 GB, free: 29.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.83, allocations: 200 kB / 0.5849 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006587/0.8366, allocations: 4.673 MB / 0.5895 GB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02519/0.8618, allocations: 16.45 MB / 0.6056 GB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004806/0.8667, allocations: 6.783 MB / 0.6122 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/0.867, allocations: 151 kB / 0.6123 GB, free: 76 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.8671, allocations: 60.56 kB / 0.6124 GB, free: 8 kB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 3.647e-06/0.8671, allocations: 0 / 0.6124 GB, free: 8 kB / 378.7 MB Notification: Performance of matching and sorting (n=256): time 0.01945/0.8866, allocations: 10.34 MB / 0.6225 GB, free: 5.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.8867, allocations: 77.42 kB / 0.6226 GB, free: 5.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/0.8903, allocations: 2.359 MB / 0.6249 GB, free: 2.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.8906, allocations: 73.7 kB / 0.6249 GB, free: 2.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.8919, allocations: 1.636 MB / 0.6265 GB, free: 1.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007983/0.8927, allocations: 0.8432 MB / 0.6273 GB, free: 404 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.8928, allocations: 48 kB / 0.6274 GB, free: 356 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.893, allocations: 406.6 kB / 0.6278 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/0.8951, allocations: 1.336 MB / 0.6291 GB, free: 14.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.8972, allocations: 1.632 MB / 0.6307 GB, free: 12.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.8994, allocations: 1.565 MB / 0.6322 GB, free: 11.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.8994, allocations: 4 kB / 0.6322 GB, free: 11.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.007132/0.9066, allocations: 4.437 MB / 0.6365 GB, free: 6.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.9066, allocations: 15.44 kB / 0.6366 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.9066, allocations: 4 kB / 0.6366 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003294/0.9099, allocations: 1.417 MB / 0.6379 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.9115, allocations: 387.5 kB / 0.6383 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2288/1.14, allocations: 23.88 MB / 0.6616 GB, free: 65.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/1.143, allocations: 97.56 kB / 0.6617 GB, free: 65.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/1.143, allocations: 78.72 kB / 0.6618 GB, free: 65.91 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 () * 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.002402/1.145, allocations: 1.409 MB / 0.6632 GB, free: 65.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007259/1.146, allocations: 295.2 kB / 0.6635 GB, free: 65.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006232/1.152, allocations: 4.205 MB / 0.6676 GB, free: 65.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.152, allocations: 24.5 kB / 0.6676 GB, free: 65.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/1.152, allocations: 10.72 kB / 0.6676 GB, free: 65.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/1.152, allocations: 14.53 kB / 0.6676 GB, free: 65.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/1.166, allocations: 8.927 MB / 0.6763 GB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/1.166, allocations: 3.406 kB / 0.6763 GB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.167, allocations: 290.8 kB / 0.6766 GB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002904/1.17, allocations: 1.387 MB / 0.678 GB, free: 64.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.17, allocations: 54.23 kB / 0.678 GB, free: 64.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/1.19, allocations: 23.64 MB / 0.7011 GB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.19, allocations: 3.906 kB / 0.7011 GB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008284/1.199, allocations: 6.157 MB / 0.7071 GB, free: 46.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/1.201, allocations: 0.6868 MB / 0.7078 GB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/1.201, allocations: 60.39 kB / 0.7079 GB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.203, allocations: 130.1 kB / 0.708 GB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/1.203, allocations: 225.2 kB / 0.7082 GB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.203, allocations: 67.78 kB / 0.7083 GB, free: 45.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002392/1.206, allocations: 1.844 MB / 0.7101 GB, free: 44.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.206, allocations: 0 / 0.7101 GB, free: 44.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00388/1.21, allocations: 0.9658 MB / 0.711 GB, free: 44.81 MB / 410.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.008206/1.218, allocations: 7.039 MB / 0.7179 GB, free: 41.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006206/1.224, allocations: 4.877 MB / 0.7226 GB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.224, allocations: 0 / 0.7226 GB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004126/1.228, allocations: 3.375 MB / 0.7259 GB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.233, allocations: 0.8848 MB / 0.7268 GB, free: 36.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03815/1.271, allocations: 30 MB / 0.7561 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/1.273, allocations: 3.25 MB / 0.7593 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00206/1.276, allocations: 0.5619 MB / 0.7598 GB, free: 8.988 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.277, allocations: 1.456 MB / 0.7612 GB, free: 7.641 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/1.277, allocations: 0 / 0.7612 GB, free: 7.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3207/1.598, allocations: 88.22 MB / 0.8474 GB, free: 99.26 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.598, allocations: 231.2 kB / 0.8476 GB, free: 99.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.255/5.854, allocations: 4 kB / 0.8476 GB, free: 99.02 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat