Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00148/0.00148, allocations: 179.4 kB / 8.364 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 1.997/1.997, 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.001174/0.001173, allocations: 100.5 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.573e-05, allocations: 4 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3345, allocations: 47.56 MB / 362.4 MB, free: 45.76 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.4875, allocations: 91.16 MB / 453.6 MB, free: 11.04 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/0.4879, allocations: 88.5 kB / 453.7 MB, free: 10.95 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7615/1.249, allocations: 115.1 MB / 0.5555 GB, free: 81.91 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.425e-06/1.249, allocations: 0 / 0.5555 GB, free: 81.91 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004387/1.25, allocations: 112.2 kB / 0.5556 GB, free: 81.89 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01449/1.264, allocations: 3.813 MB / 0.5593 GB, free: 79.52 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.264, allocations: 7.219 kB / 0.5593 GB, free: 79.52 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/1.268, allocations: 0.5573 MB / 0.5598 GB, free: 79.26 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009151/1.277, allocations: 2.716 MB / 0.5625 GB, free: 77.49 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/1.277, allocations: 127 kB / 0.5626 GB, free: 77.49 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/1.279, allocations: 232.5 kB / 0.5628 GB, free: 77.48 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01285/1.292, allocations: 4.288 MB / 0.567 GB, free: 73.46 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/1.309, allocations: 5.004 MB / 0.5719 GB, free: 68.27 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/1.309, allocations: 3.938 kB / 0.5719 GB, free: 68.26 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/1.31, allocations: 4 kB / 0.5719 GB, free: 68.26 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002569/1.31, allocations: 208 kB / 0.5721 GB, free: 68.05 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04355/1.354, allocations: 15.63 MB / 0.5874 GB, free: 52.37 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/1.364, allocations: 6.61 MB / 0.5938 GB, free: 45.19 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008989/1.373, allocations: 2.421 MB / 0.5962 GB, free: 42.78 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008394/1.374, allocations: 155 kB / 0.5964 GB, free: 42.61 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.063e-05/1.375, allocations: 64.56 kB / 0.5964 GB, free: 42.54 MB / 395.1 MB Notification: Performance of pre-optimization done (n=249): time 1.093e-05/1.375, allocations: 0 / 0.5964 GB, free: 42.54 MB / 395.1 MB Notification: Performance of matching and sorting (n=256): time 0.0212/1.396, allocations: 7.285 MB / 0.6035 GB, free: 35.14 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.396, allocations: 77.42 kB / 0.6036 GB, free: 35.05 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004265/1.4, allocations: 1.819 MB / 0.6054 GB, free: 33.2 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006374/1.401, allocations: 25.7 kB / 0.6054 GB, free: 33.17 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.402, allocations: 1.55 MB / 0.6069 GB, free: 31.6 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.403, allocations: 0.8152 MB / 0.6077 GB, free: 30.78 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/1.403, allocations: 4 kB / 0.6077 GB, free: 30.77 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/1.404, allocations: 407.6 kB / 0.6081 GB, free: 30.37 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/1.406, allocations: 1.234 MB / 0.6093 GB, free: 29.13 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/1.409, allocations: 1.515 MB / 0.6108 GB, free: 27.53 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/1.412, allocations: 1.471 MB / 0.6122 GB, free: 26.04 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/1.413, allocations: 4 kB / 0.6122 GB, free: 26.03 MB / 395.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00993/1.422, allocations: 3.909 MB / 0.616 GB, free: 22.04 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/1.423, allocations: 8 kB / 0.6161 GB, free: 22.04 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.423, allocations: 11.98 kB / 0.6161 GB, free: 22.02 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005344/1.428, allocations: 1.37 MB / 0.6174 GB, free: 20.62 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/1.431, allocations: 391.5 kB / 0.6178 GB, free: 20.24 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03067/1.462, allocations: 22.55 MB / 0.6398 GB, free: 12.55 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/1.465, allocations: 51.98 kB / 0.6399 GB, free: 12.5 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005167/1.465, allocations: 80.66 kB / 0.6399 GB, free: 12.42 MB / 411.1 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 () * 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.0006236/1.466, allocations: 144.7 kB / 0.6401 GB, free: 12.27 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01042/1.477, allocations: 3.602 MB / 0.6436 GB, free: 8.582 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.478, allocations: 264.9 kB / 0.6438 GB, free: 8.32 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.489, allocations: 3.803 MB / 0.6476 GB, free: 4.426 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-05/1.489, allocations: 27.95 kB / 0.6476 GB, free: 4.398 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/1.489, allocations: 12 kB / 0.6476 GB, free: 4.387 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-05/1.489, allocations: 11.95 kB / 0.6476 GB, free: 4.375 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3492/1.838, allocations: 8.049 MB / 0.6555 GB, free: 86.74 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/1.838, allocations: 1.469 kB / 0.6555 GB, free: 86.74 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002626/1.841, allocations: 293.2 kB / 0.6557 GB, free: 86.74 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005848/1.847, allocations: 1.355 MB / 0.6571 GB, free: 86.66 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005816/1.847, allocations: 16.53 kB / 0.6571 GB, free: 86.66 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04731/1.895, allocations: 22.39 MB / 0.6789 GB, free: 74.07 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/1.895, allocations: 4.156 kB / 0.6789 GB, free: 74.07 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/1.909, allocations: 5.709 MB / 0.6845 GB, free: 73.64 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/1.912, allocations: 0.637 MB / 0.6851 GB, free: 73.54 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.913, allocations: 13.7 kB / 0.6852 GB, free: 73.54 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/1.916, allocations: 91.86 kB / 0.6852 GB, free: 73.54 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.917, allocations: 209.8 kB / 0.6854 GB, free: 73.54 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003073/1.918, allocations: 71.56 kB / 0.6855 GB, free: 73.54 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003415/1.921, allocations: 1.389 MB / 0.6869 GB, free: 73.39 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.273e-06/1.921, allocations: 0 / 0.6869 GB, free: 73.39 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.005946/1.927, allocations: 0.8648 MB / 0.6877 GB, free: 73.39 MB / 411.1 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 () * 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.01497/1.942, allocations: 6.544 MB / 0.6941 GB, free: 71.98 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.011/1.953, allocations: 4.548 MB / 0.6985 GB, free: 69.62 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.953, allocations: 2.969 kB / 0.6986 GB, free: 69.62 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01075/1.964, allocations: 3.142 MB / 0.7016 GB, free: 67.78 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008512/1.973, allocations: 0.6216 MB / 0.7022 GB, free: 67.65 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03203/2.005, allocations: 7.848 MB / 0.7099 GB, free: 64.92 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005465/2.01, allocations: 3.173 MB / 0.713 GB, free: 63.66 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00326/2.014, allocations: 1.444 MB / 0.7144 GB, free: 62.45 MB / 411.1 MB Notification: Performance of SimCode: time 1.292e-06/2.014, allocations: 0 / 0.7144 GB, free: 62.45 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.317/7.33, allocations: 266.1 MB / 0.9743 GB, free: 1.77 MB / 443.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat