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.001615/0.001615, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.975/1.975, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001147/0.001147, allocations: 99.48 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 12 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.337, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.4834, allocations: 90.31 MB / 465 MB, free: 6.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.4838, allocations: 83.95 kB / 465 MB, free: 6.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5139/0.9977, allocations: 63.29 MB / 0.5159 GB, free: 87.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.9978, allocations: 0 / 0.5159 GB, free: 87.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002245/0.998, allocations: 68.47 kB / 0.516 GB, free: 87.89 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00913/1.007, allocations: 2.501 MB / 0.5185 GB, free: 86.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.007, allocations: 10.97 kB / 0.5185 GB, free: 86.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001286/1.009, allocations: 333.3 kB / 0.5188 GB, free: 86.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/1.01, allocations: 314.5 kB / 0.5191 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/1.014, allocations: 1.576 MB / 0.5206 GB, free: 85.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/1.015, allocations: 166.2 kB / 0.5208 GB, free: 85.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009191/1.016, allocations: 215.9 kB / 0.521 GB, free: 85.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008931/1.025, allocations: 3.103 MB / 0.524 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-05/1.025, allocations: 3.938 kB / 0.524 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/1.025, allocations: 96.19 kB / 0.5241 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/1.025, allocations: 107 kB / 0.5242 GB, free: 84.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007733/1.033, allocations: 2.544 MB / 0.5267 GB, free: 83.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02295/1.056, allocations: 8.912 MB / 0.5354 GB, free: 77.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/1.061, allocations: 3.355 MB / 0.5387 GB, free: 73.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/1.061, allocations: 138.4 kB / 0.5388 GB, free: 73.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/1.061, allocations: 51.88 kB / 0.5389 GB, free: 73.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.188e-06/1.061, allocations: 0 / 0.5389 GB, free: 73.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.01523/1.076, allocations: 5.686 MB / 0.5444 GB, free: 67.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/1.076, allocations: 68.72 kB / 0.5445 GB, free: 67.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/1.079, allocations: 1.339 MB / 0.5458 GB, free: 66.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.079, allocations: 45.7 kB / 0.5458 GB, free: 66.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/1.08, allocations: 0.8913 MB / 0.5467 GB, free: 65.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/1.08, allocations: 446.4 kB / 0.5471 GB, free: 65.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/1.08, allocations: 24 kB / 0.5471 GB, free: 65.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/1.08, allocations: 366.7 kB / 0.5475 GB, free: 64.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/1.082, allocations: 0.6974 MB / 0.5482 GB, free: 64.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.084, allocations: 0.8581 MB / 0.549 GB, free: 63.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/1.085, allocations: 0.8105 MB / 0.5498 GB, free: 62.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/1.085, allocations: 0 / 0.5498 GB, free: 62.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005146/1.091, allocations: 2.205 MB / 0.552 GB, free: 60.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.091, allocations: 8 kB / 0.552 GB, free: 60.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.091, allocations: 4 kB / 0.552 GB, free: 60.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/1.093, allocations: 0.7133 MB / 0.5527 GB, free: 59.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.095, allocations: 207.7 kB / 0.5529 GB, free: 59.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/1.11, allocations: 10.71 MB / 0.5633 GB, free: 47.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.112, allocations: 51.97 kB / 0.5634 GB, free: 47.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.112, allocations: 39.98 kB / 0.5634 GB, free: 47.86 MB / 378.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 () * Number of clocked 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.001698/1.113, allocations: 0.8159 MB / 0.5642 GB, free: 47.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/1.114, allocations: 165.7 kB / 0.5644 GB, free: 46.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/1.119, allocations: 2.188 MB / 0.5665 GB, free: 44.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.119, allocations: 16 kB / 0.5665 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.119, allocations: 4 kB / 0.5665 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.119, allocations: 7.969 kB / 0.5665 GB, free: 44.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/1.13, allocations: 4.751 MB / 0.5712 GB, free: 39.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/1.13, allocations: 0 / 0.5712 GB, free: 39.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.131, allocations: 163.7 kB / 0.5713 GB, free: 39.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/1.134, allocations: 0.6901 MB / 0.572 GB, free: 38.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.134, allocations: 24 kB / 0.572 GB, free: 38.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/1.148, allocations: 10.62 MB / 0.5824 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.149, allocations: 8.016 kB / 0.5824 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007287/1.156, allocations: 3.255 MB / 0.5856 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.157, allocations: 407.1 kB / 0.586 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.157, allocations: 28.09 kB / 0.586 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.159, allocations: 77.38 kB / 0.5861 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/1.159, allocations: 117.1 kB / 0.5862 GB, free: 23.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.159, allocations: 32 kB / 0.5862 GB, free: 23.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002016/1.161, allocations: 1.052 MB / 0.5872 GB, free: 22.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.161, allocations: 4 kB / 0.5872 GB, free: 22.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002224/1.163, allocations: 0.5273 MB / 0.5878 GB, free: 22.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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.007323/1.171, allocations: 4.031 MB / 0.5917 GB, free: 18.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005008/1.176, allocations: 2.424 MB / 0.5941 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.176, allocations: 0.875 kB / 0.5941 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/1.179, allocations: 1.624 MB / 0.5956 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.182, allocations: 487.3 kB / 0.5961 GB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/1.213, allocations: 15.68 MB / 0.6114 GB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/1.216, allocations: 2.03 MB / 0.6134 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/1.217, allocations: 0.7805 MB / 0.6142 GB, free: 10.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.143e-06/1.217, allocations: 0 / 0.6142 GB, free: 10.63 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.876/5.093, allocations: 84.72 MB / 0.6969 GB, free: 112.1 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