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.001022/0.001022, allocations: 98.39 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001084, allocations: 195.1 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002393/0.0002394, allocations: 8 kB / 306.8 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007574/0.1177, allocations: 6.037 MB / 364.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004946/0.1227, allocations: 2.19 MB / 366.5 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1239, allocations: 43.75 kB / 366.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1251, allocations: 353.8 kB / 366.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.1272, allocations: 0.5751 MB / 367.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.1279, allocations: 167.8 kB / 367.7 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.1318, allocations: 2.933 MB / 370.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2348/0.3666, allocations: 1.692 MB / 372.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.3689, allocations: 0.9513 MB / 373.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.3719, allocations: 1.227 MB / 374.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006584/0.3726, allocations: 148.1 kB / 374.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.3738, allocations: 213.7 kB / 374.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009724/0.3747, allocations: 0.6517 MB / 375.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009671/0.3757, allocations: 0.5353 MB / 376 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005511/0.3812, allocations: 3.738 MB / 379.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3813, allocations: 0 / 379.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3813, allocations: 1.062 kB / 379.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001341/0.3814, allocations: 0 / 379.7 MB, free: 9.098 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.006459/0.3879, allocations: 2.551 MB / 382.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3879, allocations: 12.72 kB / 382.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001171/0.3891, allocations: 331.5 kB / 382.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.3905, allocations: 344.9 kB / 383 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.3937, allocations: 1.542 MB / 384.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3939, allocations: 161 kB / 384.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/0.3943, allocations: 221.7 kB / 384.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006334/0.4006, allocations: 3.172 MB / 388.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.4007, allocations: 1.25 kB / 388.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.4009, allocations: 92.33 kB / 388.2 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.4011, allocations: 109.2 kB / 388.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005309/0.4064, allocations: 2.731 MB / 391 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.423, allocations: 8.926 MB / 399.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/0.4266, allocations: 3.384 MB / 403.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.4286, allocations: 1.343 MB / 404.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.4288, allocations: 127.5 kB / 404.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.4289, allocations: 54.17 kB / 404.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.146e-06/0.4289, allocations: 0 / 404.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01083/0.4397, allocations: 5.778 MB / 410.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4398, allocations: 64.72 kB / 410.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.4422, allocations: 1.474 MB / 412.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.4424, allocations: 49.17 kB / 412.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007262/0.4431, allocations: 0.9445 MB / 413.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.4435, allocations: 452.2 kB / 413.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.4436, allocations: 24 kB / 413.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4438, allocations: 353.9 kB / 413.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4449, allocations: 0.6896 MB / 414.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.4461, allocations: 0.8629 MB / 415.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.4474, allocations: 0.818 MB / 416.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4474, allocations: 6.359 kB / 416.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003916/0.4513, allocations: 2.301 MB / 418.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.4514, allocations: 14.84 kB / 418.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.4514, allocations: 5.125 kB / 418.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/0.454, allocations: 0.8287 MB / 419.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.4549, allocations: 203.7 kB / 419.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.4668, allocations: 10.51 MB / 430.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.4683, allocations: 60.02 kB / 430.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4684, allocations: 36 kB / 430.3 MB, free: 1.367 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.001776/0.4702, allocations: 0.8175 MB / 431.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004081/0.4706, allocations: 158.1 kB / 431.2 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.4747, allocations: 2.285 MB / 433.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.4748, allocations: 12 kB / 433.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.4748, allocations: 4 kB / 433.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.4748, allocations: 7.969 kB / 433.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008185/0.483, allocations: 4.764 MB / 438.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.483, allocations: 3.953 kB / 438.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.4837, allocations: 163.9 kB / 438.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002538/0.4862, allocations: 0.8052 MB / 439.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.4863, allocations: 31.98 kB / 439.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.4983, allocations: 10.4 MB / 449.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4983, allocations: 4.031 kB / 449.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/0.5036, allocations: 3.23 MB / 452.9 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009379/0.5046, allocations: 407 kB / 453.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.5048, allocations: 31.98 kB / 453.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/0.5056, allocations: 71.95 kB / 453.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.5059, allocations: 121.1 kB / 453.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/0.506, allocations: 35.94 kB / 453.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.5077, allocations: 1.04 MB / 454.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.5077, allocations: 4 kB / 454.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002036/0.5098, allocations: 0.518 MB / 455.2 MB, free: 7.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 75 * 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.005533/0.5153, allocations: 3.853 MB / 459 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.5192, allocations: 2.394 MB / 461.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.5193, allocations: 4.188 kB / 461.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.5217, allocations: 1.63 MB / 463 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.5243, allocations: 0.4987 MB / 463.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04097/0.5653, allocations: 13.75 MB / 477.3 MB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.5681, allocations: 2.039 MB / 479.3 MB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00173/0.5699, allocations: 309.5 kB / 479.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.5714, allocations: 0.7766 MB / 480.4 MB, free: 13.96 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5714, allocations: 4 kB / 480.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09895/0.6704, allocations: 46.22 MB / 0.5143 GB, free: 264 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.6706, allocations: 280.1 kB / 0.5146 GB, free: 15.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/3.983, allocations: 0 / 0.5146 GB, free: 15.9 MB / 446.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