Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002244/0.00225, allocations: 181.3 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.273/2.273, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001142/0.001142, allocations: 82.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.654e-05, allocations: 8 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 47.57 MB / 369.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5472, allocations: 90.21 MB / 459.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5475, allocations: 84.08 kB / 459.5 MB, free: 2.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2718/0.8193, allocations: 63.48 MB / 0.5107 GB, free: 4.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.8194, allocations: 3.938 kB / 0.5107 GB, free: 4.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002995/0.8197, allocations: 63.94 kB / 0.5108 GB, free: 4.695 MB / 394.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.00875/0.8285, allocations: 2.259 MB / 0.513 GB, free: 2.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.8286, allocations: 11.97 kB / 0.513 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001325/0.8299, allocations: 328.7 kB / 0.5133 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.8314, allocations: 317 kB / 0.5136 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00524/0.8367, allocations: 1.565 MB / 0.5151 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/0.837, allocations: 168.4 kB / 0.5153 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008722/0.8378, allocations: 208 kB / 0.5155 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.8479, allocations: 3.047 MB / 0.5185 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/0.848, allocations: 0 / 0.5185 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006571/0.8487, allocations: 95.98 kB / 0.5186 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.8489, allocations: 108.4 kB / 0.5187 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00872/0.8576, allocations: 2.466 MB / 0.5211 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.8858, allocations: 8.92 MB / 0.5298 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3139/1.2, allocations: 3.307 MB / 0.533 GB, free: 90.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005283/1.205, allocations: 1.307 MB / 0.5343 GB, free: 90.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/1.206, allocations: 136.4 kB / 0.5344 GB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/1.206, allocations: 52.14 kB / 0.5345 GB, free: 90.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 7.494e-06/1.206, allocations: 0 / 0.5345 GB, free: 90.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.01935/1.225, allocations: 4.082 MB / 0.5385 GB, free: 89.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/1.225, allocations: 68.59 kB / 0.5385 GB, free: 89.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0056/1.231, allocations: 1.323 MB / 0.5398 GB, free: 89.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000407/1.232, allocations: 50.28 kB / 0.5399 GB, free: 89.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/1.233, allocations: 0.8994 MB / 0.5407 GB, free: 88.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009665/1.234, allocations: 441.5 kB / 0.5412 GB, free: 88.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/1.234, allocations: 25.66 kB / 0.5412 GB, free: 88.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/1.234, allocations: 364.4 kB / 0.5415 GB, free: 88.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/1.237, allocations: 0.6517 MB / 0.5422 GB, free: 88.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/1.24, allocations: 0.819 MB / 0.543 GB, free: 88.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/1.244, allocations: 0.7716 MB / 0.5437 GB, free: 88.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/1.244, allocations: 2.156 kB / 0.5437 GB, free: 88.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.01004/1.254, allocations: 2.123 MB / 0.5458 GB, free: 88.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/1.254, allocations: 7.031 kB / 0.5458 GB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/1.254, allocations: 3 kB / 0.5458 GB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005051/1.259, allocations: 0.7139 MB / 0.5465 GB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/1.262, allocations: 204.8 kB / 0.5467 GB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02606/1.288, allocations: 10.48 MB / 0.5569 GB, free: 82.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/1.291, allocations: 52.83 kB / 0.557 GB, free: 82.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/1.291, allocations: 38.88 kB / 0.557 GB, free: 82.6 MB / 410.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.0005504/1.292, allocations: 175.6 kB / 0.5572 GB, free: 82.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008342/1.293, allocations: 164 kB / 0.5573 GB, free: 82.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007775/1.301, allocations: 2.106 MB / 0.5594 GB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/1.301, allocations: 15.77 kB / 0.5594 GB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.301, allocations: 4.594 kB / 0.5594 GB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-05/1.301, allocations: 10.55 kB / 0.5594 GB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.321, allocations: 4.666 MB / 0.564 GB, free: 81.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/1.321, allocations: 6.031 kB / 0.564 GB, free: 81.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/1.323, allocations: 157.8 kB / 0.5641 GB, free: 81.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004408/1.327, allocations: 0.6924 MB / 0.5648 GB, free: 81.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003653/1.328, allocations: 33.75 kB / 0.5649 GB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02422/1.352, allocations: 10.36 MB / 0.575 GB, free: 73.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.352, allocations: 0 / 0.575 GB, free: 73.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.363, allocations: 3.194 MB / 0.5781 GB, free: 72.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/1.365, allocations: 405.2 kB / 0.5785 GB, free: 72.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008406/1.366, allocations: 27.16 kB / 0.5785 GB, free: 72.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/1.369, allocations: 76.56 kB / 0.5786 GB, free: 72.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007019/1.37, allocations: 110.5 kB / 0.5787 GB, free: 72.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/1.37, allocations: 38.38 kB / 0.5787 GB, free: 72.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003736/1.374, allocations: 1.039 MB / 0.5797 GB, free: 71.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.423e-06/1.374, allocations: 3.469 kB / 0.5797 GB, free: 71.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004699/1.379, allocations: 0.5279 MB / 0.5803 GB, free: 71.56 MB / 410.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.0123/1.391, allocations: 4.11 MB / 0.5843 GB, free: 69.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007944/1.399, allocations: 2.323 MB / 0.5865 GB, free: 68.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.399, allocations: 2.5 kB / 0.5865 GB, free: 68.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004131/1.403, allocations: 1.578 MB / 0.5881 GB, free: 67.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/1.407, allocations: 474.2 kB / 0.5885 GB, free: 67.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.42, allocations: 4.403 MB / 0.5928 GB, free: 65.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/1.422, allocations: 2.033 MB / 0.5948 GB, free: 64.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/1.424, allocations: 0.7888 MB / 0.5956 GB, free: 63.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/1.424, allocations: 0 / 0.5956 GB, free: 63.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.059/5.483, allocations: 84.82 MB / 0.6784 GB, free: 12.13 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat