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/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.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/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 202.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000824/0.000824, allocations: 111.6 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002118/0.0002117, allocations: 4 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.291, allocations: 91.87 MB / 0.4896 GB, free: 14.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.2913, allocations: 93.38 kB / 0.4897 GB, free: 14.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2916/0.583, allocations: 63.63 MB / 0.5519 GB, free: 58.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.583, allocations: 7.938 kB / 0.5519 GB, free: 58.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000124/0.5831, allocations: 63.92 kB / 0.5519 GB, free: 58.58 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.003975/0.5871, allocations: 2.531 MB / 0.5544 GB, free: 55.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5872, allocations: 8.031 kB / 0.5544 GB, free: 55.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003649/0.5875, allocations: 328.7 kB / 0.5547 GB, free: 55.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008422/0.5884, allocations: 348.6 kB / 0.555 GB, free: 55.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.5908, allocations: 1.576 MB / 0.5566 GB, free: 53.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.227e-05/0.5909, allocations: 164.4 kB / 0.5567 GB, free: 53.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.5912, allocations: 215.9 kB / 0.5569 GB, free: 53.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.595, allocations: 3.086 MB / 0.56 GB, free: 50.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.5951, allocations: 0 / 0.56 GB, free: 50.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.5953, allocations: 95.98 kB / 0.5601 GB, free: 49.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.642e-05/0.5954, allocations: 116.3 kB / 0.5602 GB, free: 49.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.5986, allocations: 2.532 MB / 0.5626 GB, free: 47.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.6095, allocations: 8.896 MB / 0.5713 GB, free: 38.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.6118, allocations: 3.359 MB / 0.5746 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.6121, allocations: 130.4 kB / 0.5747 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.6121, allocations: 47.81 kB / 0.5748 GB, free: 34.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.206e-06/0.6121, allocations: 0 / 0.5748 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.008558/0.6207, allocations: 5.695 MB / 0.5803 GB, free: 28.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.6208, allocations: 68.67 kB / 0.5804 GB, free: 28.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.6224, allocations: 1.335 MB / 0.5817 GB, free: 27.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/0.6225, allocations: 49.7 kB / 0.5818 GB, free: 27.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.6229, allocations: 0.9484 MB / 0.5827 GB, free: 26.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.6231, allocations: 437.5 kB / 0.5831 GB, free: 25.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.6232, allocations: 28 kB / 0.5831 GB, free: 25.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.6233, allocations: 357.9 kB / 0.5835 GB, free: 25.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008114/0.6241, allocations: 0.6896 MB / 0.5841 GB, free: 24.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/0.625, allocations: 0.862 MB / 0.585 GB, free: 23.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.6259, allocations: 0.8145 MB / 0.5858 GB, free: 22.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.6259, allocations: 0 / 0.5858 GB, free: 22.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00305/0.6289, allocations: 2.302 MB / 0.588 GB, free: 20.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.629, allocations: 4 kB / 0.588 GB, free: 20.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.629, allocations: 4 kB / 0.588 GB, free: 20.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.6305, allocations: 0.7136 MB / 0.5887 GB, free: 19.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.6312, allocations: 207.7 kB / 0.5889 GB, free: 19.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00847/0.6397, allocations: 10.73 MB / 0.5994 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.6408, allocations: 56.02 kB / 0.5995 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.6409, allocations: 44 kB / 0.5995 GB, free: 8.215 MB / 378.7 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 () * Number of clocked 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.001103/0.642, allocations: 0.8158 MB / 0.6003 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.6422, allocations: 158.1 kB / 0.6004 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/0.645, allocations: 2.191 MB / 0.6026 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.645, allocations: 12 kB / 0.6026 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.645, allocations: 4 kB / 0.6026 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.645, allocations: 12.22 kB / 0.6026 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/0.6513, allocations: 4.731 MB / 0.6072 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6513, allocations: 4 kB / 0.6072 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/0.652, allocations: 163.8 kB / 0.6074 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.6536, allocations: 0.6946 MB / 0.6081 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.6537, allocations: 31.98 kB / 0.6081 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/0.6645, allocations: 10.61 MB / 0.6185 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6646, allocations: 0 / 0.6185 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.6695, allocations: 3.268 MB / 0.6217 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.6706, allocations: 403.1 kB / 0.622 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.6708, allocations: 31.98 kB / 0.6221 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.6716, allocations: 75.94 kB / 0.6221 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/0.6719, allocations: 117.1 kB / 0.6223 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/0.672, allocations: 32 kB / 0.6223 GB, free: 124 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001612/0.6736, allocations: 1.06 MB / 0.6233 GB, free: 15.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6736, allocations: 0 / 0.6233 GB, free: 15.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001918/0.6755, allocations: 0.5273 MB / 0.6238 GB, free: 14.53 MB / 410.7 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.005396/0.681, allocations: 4.054 MB / 0.6278 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.6848, allocations: 2.424 MB / 0.6302 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6848, allocations: 0 / 0.6302 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.6873, allocations: 1.621 MB / 0.6317 GB, free: 6.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.6899, allocations: 492.2 kB / 0.6322 GB, free: 5.793 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02588/0.7158, allocations: 15.74 MB / 0.6476 GB, free: 5.641 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.7176, allocations: 2.078 MB / 0.6496 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001127/0.7187, allocations: 305.3 kB / 0.6499 GB, free: 3.219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.7198, allocations: 0.7805 MB / 0.6507 GB, free: 2.438 MB / 426.7 MB Notification: Performance of SimCode: time 1.452e-06/0.7198, allocations: 0 / 0.6507 GB, free: 2.438 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3018/1.022, allocations: 47.35 MB / 0.6969 GB, free: 108.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/1.022, allocations: 226.5 kB / 0.6971 GB, free: 108.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.008, allocations: 0 / 0.6971 GB, free: 108.4 MB / 442.7 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