Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 95.59 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 202 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002538, allocations: 8 kB / 306.7 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09866, allocations: 51.5 MB / 358.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006098/0.1048, allocations: 5.585 MB / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.1087, allocations: 2.241 MB / 366 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000719/0.1095, allocations: 43.75 kB / 366.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007586/0.1102, allocations: 362.2 kB / 366.4 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.1114, allocations: 0.5569 MB / 367 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.1118, allocations: 159.8 kB / 367.1 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.1136, allocations: 1.805 MB / 368.9 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.1154, allocations: 1.693 MB / 370.6 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.1165, allocations: 0.8914 MB / 371.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.179/0.2955, allocations: 1.065 MB / 372.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006926/0.2963, allocations: 149.1 kB / 372.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.2971, allocations: 208.6 kB / 372.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006801/0.2978, allocations: 0.6222 MB / 373.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007703/0.2986, allocations: 0.526 MB / 374.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004394/0.303, allocations: 3.729 MB / 377.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.303, allocations: 2.625 kB / 377.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.303, allocations: 0.5312 kB / 377.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.3031, allocations: 0 / 377.8 MB, free: 9.965 MB / 302.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.006006/0.3092, allocations: 2.556 MB / 380.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3092, allocations: 9.25 kB / 380.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008583/0.3101, allocations: 325 kB / 380.7 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3114, allocations: 344.8 kB / 381 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.3145, allocations: 1.538 MB / 382.6 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3146, allocations: 162.8 kB / 382.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003822/0.315, allocations: 216.8 kB / 383 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/0.3207, allocations: 3.151 MB / 386.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.3207, allocations: 3.781 kB / 386.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.321, allocations: 91.17 kB / 386.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.3211, allocations: 108.7 kB / 386.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00496/0.3261, allocations: 2.727 MB / 389 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.3431, allocations: 8.94 MB / 398 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.3465, allocations: 3.385 MB / 401.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.3468, allocations: 121.2 kB / 401.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.3468, allocations: 46.09 kB / 401.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.087e-06/0.3468, allocations: 0 / 401.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01202/0.3589, allocations: 5.836 MB / 407.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.359, allocations: 68.72 kB / 407.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.3614, allocations: 1.474 MB / 408.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.3615, allocations: 53.7 kB / 408.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007718/0.3623, allocations: 0.9376 MB / 409.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.3627, allocations: 451.1 kB / 410.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.3628, allocations: 24 kB / 410.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.363, allocations: 357.9 kB / 410.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.3641, allocations: 0.7013 MB / 411.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3653, allocations: 0.8746 MB / 412.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.3665, allocations: 0.8256 MB / 413.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3665, allocations: 0 / 413.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003882/0.3704, allocations: 2.329 MB / 415.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3704, allocations: 8 kB / 415.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3705, allocations: 4 kB / 415.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/0.3732, allocations: 0.8251 MB / 416.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/0.374, allocations: 208.7 kB / 416.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.386, allocations: 10.73 MB / 427.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.3876, allocations: 55.92 kB / 427.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.3877, allocations: 43.55 kB / 427.3 MB, free: 4.332 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 100 * 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.001918/0.3896, allocations: 0.8234 MB / 428.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005457/0.3902, allocations: 162.2 kB / 428.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004202/0.3944, allocations: 2.297 MB / 430.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.3945, allocations: 16 kB / 430.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3945, allocations: 4 kB / 430.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.3945, allocations: 7.969 kB / 430.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009371/0.4039, allocations: 4.772 MB / 435.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4039, allocations: 0 / 435.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/0.4046, allocations: 162.9 kB / 435.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.4072, allocations: 0.8043 MB / 436.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4074, allocations: 30.39 kB / 436.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/0.4202, allocations: 10.61 MB / 447 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4203, allocations: 4.031 kB / 447 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005152/0.4254, allocations: 3.296 MB / 450.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.4265, allocations: 407.1 kB / 450.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.4268, allocations: 28 kB / 450.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.4276, allocations: 79.94 kB / 450.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/0.4279, allocations: 105.1 kB / 450.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/0.428, allocations: 35.98 kB / 450.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001716/0.4297, allocations: 1.044 MB / 452 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4298, allocations: 0 / 452 MB, free: 11.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001974/0.4317, allocations: 0.5273 MB / 452.5 MB, free: 10.57 MB / 366.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 () * 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.005495/0.4372, allocations: 4.032 MB / 456.5 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003788/0.441, allocations: 2.42 MB / 458.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4411, allocations: 0.875 kB / 458.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.4435, allocations: 1.623 MB / 460.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.4458, allocations: 485.9 kB / 461 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/0.4728, allocations: 15.87 MB / 476.9 MB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.4749, allocations: 2.081 MB / 479 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001089/0.476, allocations: 313.4 kB / 479.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.477, allocations: 0.7804 MB / 480.1 MB, free: 14.45 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.477, allocations: 4 kB / 480.1 MB, free: 14.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08092/0.5579, allocations: 46.21 MB / 0.514 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/0.5583, allocations: 273.6 kB / 0.5142 GB, free: 416 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/3.517, allocations: 4 kB / 0.5142 GB, free: 412 kB / 430.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat