Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001083/0.001083, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009776/0.0009778, allocations: 106.6 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001959/0.0001959, allocations: 4 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1899, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.2945, allocations: 93.47 MB / 0.4912 GB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.2947, allocations: 89.86 kB / 0.4913 GB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3991/0.6939, allocations: 116.5 MB / 0.605 GB, free: 3.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6939, allocations: 4 kB / 0.6051 GB, free: 3.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004177/0.6944, allocations: 111.9 kB / 0.6052 GB, free: 3.801 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.0123/0.7067, allocations: 4.288 MB / 0.6093 GB, free: 15.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7067, allocations: 12.03 kB / 0.6094 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002276/0.709, allocations: 0.5633 MB / 0.6099 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.7118, allocations: 0.5921 MB / 0.6105 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007665/0.7195, allocations: 2.733 MB / 0.6132 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.7198, allocations: 291.8 kB / 0.6134 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.7211, allocations: 384 kB / 0.6138 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.7313, allocations: 5.635 MB / 0.6193 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/0.7314, allocations: 3.938 kB / 0.6193 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004191/0.7318, allocations: 168 kB / 0.6195 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/0.732, allocations: 208 kB / 0.6197 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008051/0.7401, allocations: 4.634 MB / 0.6242 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/0.7703, allocations: 16.43 MB / 0.6402 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007989/0.7783, allocations: 6.787 MB / 0.6469 GB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.7788, allocations: 151 kB / 0.647 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.7789, allocations: 64.56 kB / 0.6471 GB, free: 7.641 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.93e-06/0.7789, allocations: 0 / 0.6471 GB, free: 7.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.02178/0.8007, allocations: 10.68 MB / 0.6575 GB, free: 12.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.8008, allocations: 77.42 kB / 0.6576 GB, free: 12.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005112/0.8059, allocations: 2.351 MB / 0.6599 GB, free: 10.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.8062, allocations: 65.7 kB / 0.6599 GB, free: 10.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.8077, allocations: 1.64 MB / 0.6615 GB, free: 8.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009546/0.8087, allocations: 0.8355 MB / 0.6623 GB, free: 7.652 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.8089, allocations: 48 kB / 0.6624 GB, free: 7.605 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.8091, allocations: 410.6 kB / 0.6628 GB, free: 7.199 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.8113, allocations: 1.336 MB / 0.6641 GB, free: 5.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.8138, allocations: 1.625 MB / 0.6657 GB, free: 4.145 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.8164, allocations: 1.573 MB / 0.6672 GB, free: 2.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.8165, allocations: 4 kB / 0.6672 GB, free: 2.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.238/1.054, allocations: 4.438 MB / 0.6716 GB, free: 77.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/1.055, allocations: 9.906 kB / 0.6716 GB, free: 77.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/1.055, allocations: 7.562 kB / 0.6716 GB, free: 77.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.058, allocations: 1.413 MB / 0.6729 GB, free: 77.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.059, allocations: 391.1 kB / 0.6733 GB, free: 77.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.078, allocations: 23.89 MB / 0.6966 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.08, allocations: 97.64 kB / 0.6967 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/1.081, allocations: 81.09 kB / 0.6968 GB, free: 63.95 MB / 442.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.002674/1.083, allocations: 1.404 MB / 0.6982 GB, free: 63.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008332/1.084, allocations: 292.7 kB / 0.6985 GB, free: 63.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006329/1.09, allocations: 4.201 MB / 0.7026 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/1.091, allocations: 29.91 kB / 0.7026 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.091, allocations: 6.219 kB / 0.7026 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.091, allocations: 18.89 kB / 0.7026 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/1.103, allocations: 8.935 MB / 0.7113 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.103, allocations: 3.5 kB / 0.7114 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.104, allocations: 298.3 kB / 0.7116 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/1.107, allocations: 1.381 MB / 0.713 GB, free: 62.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/1.107, allocations: 62.36 kB / 0.713 GB, free: 62.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/1.125, allocations: 23.66 MB / 0.7362 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.125, allocations: 3.953 kB / 0.7362 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007553/1.132, allocations: 6.148 MB / 0.7422 GB, free: 44.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/1.134, allocations: 0.6855 MB / 0.7428 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/1.134, allocations: 61.73 kB / 0.7429 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.136, allocations: 128.3 kB / 0.743 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004311/1.136, allocations: 216.1 kB / 0.7432 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.136, allocations: 69.58 kB / 0.7433 GB, free: 44.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002213/1.139, allocations: 1.838 MB / 0.7451 GB, free: 43.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.139, allocations: 7.688 kB / 0.7451 GB, free: 43.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003016/1.142, allocations: 0.9688 MB / 0.746 GB, free: 43.28 MB / 442.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.007988/1.15, allocations: 7.016 MB / 0.7529 GB, free: 40.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005973/1.156, allocations: 4.89 MB / 0.7577 GB, free: 37.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.156, allocations: 0 / 0.7577 GB, free: 37.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004007/1.16, allocations: 3.37 MB / 0.7609 GB, free: 35.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004691/1.164, allocations: 0.8895 MB / 0.7618 GB, free: 35.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04235/1.207, allocations: 29.98 MB / 0.7911 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00407/1.211, allocations: 3.253 MB / 0.7943 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002139/1.213, allocations: 0.5739 MB / 0.7948 GB, free: 9.992 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/1.215, allocations: 1.453 MB / 0.7962 GB, free: 8.648 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/1.215, allocations: 0 / 0.7962 GB, free: 8.648 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2998/1.515, allocations: 88.25 MB / 0.8824 GB, free: 102.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.515, allocations: 228.2 kB / 0.8826 GB, free: 102.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.2/5.715, allocations: 0 / 0.8826 GB, free: 102.6 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat