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.002223/0.002223, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 91.61 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.055e-05, allocations: 4 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3399, allocations: 47.56 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.4859, allocations: 89.57 MB / 452 MB, free: 12.72 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.4862, allocations: 83.94 kB / 452.1 MB, free: 12.64 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5306/1.017, allocations: 62.73 MB / 0.5027 GB, free: 87.92 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.017, allocations: 0 / 0.5027 GB, free: 87.92 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002822/1.017, allocations: 62.66 kB / 0.5028 GB, free: 87.91 MB / 395.1 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.009179/1.026, allocations: 2.26 MB / 0.505 GB, free: 87.14 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.026, allocations: 13.03 kB / 0.505 GB, free: 87.14 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/1.029, allocations: 310.5 kB / 0.5053 GB, free: 87 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006287/1.035, allocations: 1.565 MB / 0.5068 GB, free: 86.6 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.035, allocations: 72.94 kB / 0.5069 GB, free: 86.6 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009707/1.036, allocations: 129.9 kB / 0.507 GB, free: 86.6 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007634/1.044, allocations: 2.319 MB / 0.5093 GB, free: 86.58 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009216/1.053, allocations: 2.733 MB / 0.512 GB, free: 86.23 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.689e-05/1.053, allocations: 0 / 0.512 GB, free: 86.23 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003328/1.053, allocations: 3.125 kB / 0.512 GB, free: 86.23 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/1.054, allocations: 112.3 kB / 0.5121 GB, free: 86.22 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/1.077, allocations: 8.455 MB / 0.5203 GB, free: 84.63 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/1.081, allocations: 3.268 MB / 0.5235 GB, free: 82.9 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/1.084, allocations: 1.224 MB / 0.5247 GB, free: 82.88 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/1.084, allocations: 131 kB / 0.5249 GB, free: 82.79 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.084, allocations: 48.06 kB / 0.5249 GB, free: 82.74 MB / 395.1 MB Notification: Performance of pre-optimization done (n=128): time 4.308e-06/1.084, allocations: 3.5 kB / 0.5249 GB, free: 82.74 MB / 395.1 MB Notification: Performance of matching and sorting (n=132): time 0.009945/1.094, allocations: 3.86 MB / 0.5287 GB, free: 81.96 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.095, allocations: 68.72 kB / 0.5287 GB, free: 81.89 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/1.097, allocations: 1.06 MB / 0.5298 GB, free: 81.75 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00028/1.097, allocations: 25.7 kB / 0.5298 GB, free: 81.71 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006274/1.098, allocations: 0.9319 MB / 0.5307 GB, free: 81.02 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000517/1.098, allocations: 430.4 kB / 0.5311 GB, free: 80.68 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.754e-05/1.098, allocations: 0 / 0.5311 GB, free: 80.68 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/1.098, allocations: 361.3 kB / 0.5315 GB, free: 80.35 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/1.1, allocations: 0.6332 MB / 0.5321 GB, free: 80.11 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/1.101, allocations: 0.788 MB / 0.5329 GB, free: 79.72 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.103, allocations: 0.7629 MB / 0.5336 GB, free: 79.43 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/1.103, allocations: 0 / 0.5336 GB, free: 79.43 MB / 395.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004726/1.108, allocations: 1.998 MB / 0.5355 GB, free: 78.71 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.108, allocations: 7.922 kB / 0.5356 GB, free: 78.7 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.108, allocations: 4.984 kB / 0.5356 GB, free: 78.7 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/1.11, allocations: 0.684 MB / 0.5362 GB, free: 78.5 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.112, allocations: 211.4 kB / 0.5364 GB, free: 78.49 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/1.126, allocations: 10.12 MB / 0.5463 GB, free: 71.2 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/1.128, allocations: 28.39 kB / 0.5463 GB, free: 71.2 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/1.128, allocations: 43.28 kB / 0.5464 GB, free: 71.19 MB / 395.1 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.0003199/1.129, allocations: 128.5 kB / 0.5465 GB, free: 71.07 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004353/1.133, allocations: 1.866 MB / 0.5483 GB, free: 70.37 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/1.134, allocations: 147.7 kB / 0.5485 GB, free: 70.3 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/1.138, allocations: 1.962 MB / 0.5504 GB, free: 69.54 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.138, allocations: 15.67 kB / 0.5504 GB, free: 69.54 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.138, allocations: 7.562 kB / 0.5504 GB, free: 69.54 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/1.138, allocations: 11.27 kB / 0.5504 GB, free: 69.54 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/1.149, allocations: 4.242 MB / 0.5546 GB, free: 67.83 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.149, allocations: 0 / 0.5546 GB, free: 67.83 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/1.15, allocations: 162.6 kB / 0.5547 GB, free: 67.82 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/1.153, allocations: 0.6813 MB / 0.5554 GB, free: 67.61 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/1.153, allocations: 11.55 kB / 0.5554 GB, free: 67.61 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/1.167, allocations: 10.01 MB / 0.5652 GB, free: 60.36 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/1.167, allocations: 3.312 kB / 0.5652 GB, free: 60.36 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/1.173, allocations: 3.008 MB / 0.5681 GB, free: 59.07 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.175, allocations: 381.9 kB / 0.5685 GB, free: 58.82 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005698/1.175, allocations: 7.234 kB / 0.5685 GB, free: 58.82 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/1.177, allocations: 52.77 kB / 0.5685 GB, free: 58.82 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/1.178, allocations: 115.2 kB / 0.5686 GB, free: 58.8 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.178, allocations: 34.02 kB / 0.5687 GB, free: 58.79 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001974/1.18, allocations: 0.8145 MB / 0.5695 GB, free: 58.44 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.41e-07/1.18, allocations: 0 / 0.5695 GB, free: 58.44 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003357/1.184, allocations: 487.9 kB / 0.5699 GB, free: 58.43 MB / 395.1 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 () * 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.007328/1.191, allocations: 3.772 MB / 0.5736 GB, free: 56.47 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004869/1.196, allocations: 2.227 MB / 0.5758 GB, free: 55.03 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/1.196, allocations: 1.5 kB / 0.5758 GB, free: 55.03 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003338/1.199, allocations: 1.512 MB / 0.5773 GB, free: 53.65 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/1.203, allocations: 337.6 kB / 0.5776 GB, free: 53.39 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.215, allocations: 4.223 MB / 0.5817 GB, free: 49.77 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/1.217, allocations: 2.029 MB / 0.5837 GB, free: 48.12 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.219, allocations: 0.7677 MB / 0.5844 GB, free: 47.41 MB / 395.1 MB Notification: Performance of SimCode: time 1.463e-06/1.219, allocations: 0 / 0.5844 GB, free: 47.41 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.955/5.174, allocations: 82.43 MB / 0.6649 GB, free: 94.45 MB / 411.1 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