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.001518/0.001517, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001127/0.001127, allocations: 100.3 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 47.57 MB / 374.6 MB, free: 45.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.4808, allocations: 91.9 MB / 466.5 MB, free: 4.844 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.4811, allocations: 95.92 kB / 466.6 MB, free: 4.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6988/1.18, allocations: 116.1 MB / 0.5691 GB, free: 44.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.596e-06/1.18, allocations: 0 / 0.5691 GB, free: 44.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004627/1.181, allocations: 115.9 kB / 0.5692 GB, free: 44.32 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.01623/1.197, allocations: 4.249 MB / 0.5734 GB, free: 40 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.197, allocations: 8.031 kB / 0.5734 GB, free: 39.99 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002358/1.199, allocations: 0.5633 MB / 0.5739 GB, free: 39.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/1.202, allocations: 0.5609 MB / 0.5745 GB, free: 38.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00836/1.211, allocations: 2.729 MB / 0.5771 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/1.211, allocations: 295.8 kB / 0.5774 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/1.213, allocations: 383.9 kB / 0.5778 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/1.23, allocations: 5.659 MB / 0.5833 GB, free: 29.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/1.231, allocations: 3.938 kB / 0.5833 GB, free: 29.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001241/1.232, allocations: 172 kB / 0.5835 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002857/1.232, allocations: 208 kB / 0.5837 GB, free: 29.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/1.246, allocations: 4.661 MB / 0.5882 GB, free: 24.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04057/1.287, allocations: 16.44 MB / 0.6043 GB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009181/1.296, allocations: 6.783 MB / 0.6109 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/1.297, allocations: 155 kB / 0.6111 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/1.297, allocations: 64.5 kB / 0.6111 GB, free: 184 kB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 4.759e-06/1.297, allocations: 4 kB / 0.6111 GB, free: 180 kB / 378.7 MB Notification: Performance of matching and sorting (n=256): time 0.03548/1.333, allocations: 10.34 MB / 0.6212 GB, free: 5.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/1.333, allocations: 77.42 kB / 0.6213 GB, free: 5.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006389/1.339, allocations: 2.363 MB / 0.6236 GB, free: 3.152 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006155/1.34, allocations: 69.7 kB / 0.6237 GB, free: 3.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/1.342, allocations: 1.5 MB / 0.6251 GB, free: 1.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.343, allocations: 0.8471 MB / 0.626 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/1.343, allocations: 48 kB / 0.626 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003011/1.344, allocations: 407.5 kB / 0.6264 GB, free: 256 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003877/1.348, allocations: 1.34 MB / 0.6277 GB, free: 14.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/1.352, allocations: 1.628 MB / 0.6293 GB, free: 13.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004509/1.356, allocations: 1.573 MB / 0.6308 GB, free: 11.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/1.356, allocations: 0 / 0.6308 GB, free: 11.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0131/1.37, allocations: 4.256 MB / 0.635 GB, free: 7.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/1.37, allocations: 8 kB / 0.635 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/1.37, allocations: 4 kB / 0.635 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006278/1.376, allocations: 1.413 MB / 0.6364 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.379, allocations: 391.5 kB / 0.6368 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3302/1.709, allocations: 23.88 MB / 0.6601 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/1.713, allocations: 101.7 kB / 0.6602 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/1.713, allocations: 80.66 kB / 0.6603 GB, free: 65.84 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.00339/1.716, allocations: 1.4 MB / 0.6616 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009482/1.717, allocations: 296.3 kB / 0.6619 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.728, allocations: 4.199 MB / 0.666 GB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/1.728, allocations: 27.06 kB / 0.666 GB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.728, allocations: 6.281 kB / 0.666 GB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-05/1.728, allocations: 19.56 kB / 0.6661 GB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02349/1.752, allocations: 8.922 MB / 0.6748 GB, free: 64.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.752, allocations: 3.562 kB / 0.6748 GB, free: 64.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.754, allocations: 297.9 kB / 0.6751 GB, free: 64.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005538/1.76, allocations: 1.384 MB / 0.6764 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004605/1.76, allocations: 58 kB / 0.6765 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03377/1.794, allocations: 23.64 MB / 0.6995 GB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.794, allocations: 3.672 kB / 0.6996 GB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/1.809, allocations: 6.164 MB / 0.7056 GB, free: 46.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.811, allocations: 0.6849 MB / 0.7062 GB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007296/1.812, allocations: 61.14 kB / 0.7063 GB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.815, allocations: 133.9 kB / 0.7064 GB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007628/1.816, allocations: 210.2 kB / 0.7066 GB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002261/1.816, allocations: 65.92 kB / 0.7067 GB, free: 45.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004185/1.82, allocations: 1.846 MB / 0.7085 GB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.82, allocations: 0 / 0.7085 GB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005289/1.825, allocations: 0.9715 MB / 0.7094 GB, free: 44.82 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.01548/1.841, allocations: 7.028 MB / 0.7163 GB, free: 41.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01067/1.852, allocations: 4.882 MB / 0.7211 GB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.852, allocations: 0 / 0.7211 GB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007486/1.859, allocations: 3.369 MB / 0.7244 GB, free: 37.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006272/1.865, allocations: 0.884 MB / 0.7252 GB, free: 36.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06348/1.929, allocations: 29.87 MB / 0.7544 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/1.933, allocations: 3.173 MB / 0.7575 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003034/1.936, allocations: 1.464 MB / 0.7589 GB, free: 8.473 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/1.936, allocations: 0 / 0.7589 GB, free: 8.473 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.605/7.542, allocations: 270.7 MB / 1.023 GB, free: 124.4 MB / 474.7 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