Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier6pulseFFT,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008679, allocations: 94.16 kB / 16.95 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008573/0.0008573, allocations: 185.9 kB / 17.84 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000494/0.000494, allocations: 8 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1163, allocations: 47.57 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.007106/0.1235, allocations: 6.17 MB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007228/0.1308, allocations: 2.771 MB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1319, allocations: 39.75 kB / 337.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1332, allocations: 425.7 kB / 337.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.1354, allocations: 1.18 MB / 339 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1366, allocations: 363.4 kB / 339.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004374/0.141, allocations: 3.195 MB / 342.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.1433, allocations: 1.594 MB / 344.2 MB, free: 4.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.146, allocations: 1.426 MB / 345.6 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003589/0.1496, allocations: 1.85 MB / 347.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005667/0.1502, allocations: 156 kB / 347.6 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.1523, allocations: 431.5 kB / 348 MB, free: 340 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004186/0.1565, allocations: 4.331 MB / 352.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.1594, allocations: 2.15 MB / 354.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.1707, allocations: 9.605 MB / 364.1 MB, free: 196 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1707, allocations: 0 / 364.1 MB, free: 196 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1707, allocations: 0 / 364.1 MB, free: 196 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004498/0.1712, allocations: 0 / 364.1 MB, free: 196 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.0213/0.1925, allocations: 15.1 MB / 379.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.1926, allocations: 8.031 kB / 379.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2243/0.4168, allocations: 2.056 MB / 381.3 MB, free: 45.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/0.4213, allocations: 1.476 MB / 382.7 MB, free: 44.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.4273, allocations: 2.877 MB / 385.6 MB, free: 42.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.4274, allocations: 169.1 kB / 385.8 MB, free: 42.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.4278, allocations: 217.9 kB / 386 MB, free: 42.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03734/0.4651, allocations: 26.94 MB / 412.9 MB, free: 24.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-05/0.4652, allocations: 4 kB / 412.9 MB, free: 24.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.4654, allocations: 94.34 kB / 413 MB, free: 24.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-05/0.4655, allocations: 108.5 kB / 413.1 MB, free: 23.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.4835, allocations: 24.41 MB / 437.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.5079, allocations: 14.72 MB / 452.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07373/0.5817, allocations: 82.39 MB / 0.5221 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2909/0.8726, allocations: 80.35 MB / 0.6006 GB, free: 100.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.8729, allocations: 126.7 kB / 0.6007 GB, free: 100.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02329/0.8962, allocations: 29.81 MB / 0.6298 GB, free: 72.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4937): time 8.015e-06/0.8963, allocations: 0 / 0.6298 GB, free: 72.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=4941): time 14.19/15.08, allocations: 2.897 GB / 3.527 GB, free: 9.262 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005116/15.09, allocations: 7.217 MB / 3.534 GB, free: 1.945 MB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/15.09, allocations: 1.498 MB / 3.536 GB, free: 444 kB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.00602/15.1, allocations: 3.932 MB / 3.539 GB, free: 12.48 MB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/15.1, allocations: 1.034 MB / 3.54 GB, free: 11.44 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.02697/15.12, allocations: 21.23 MB / 3.561 GB, free: 5.926 MB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006149/15.13, allocations: 1.488 MB / 3.563 GB, free: 4.438 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 0.007649/15.14, allocations: 3.466 MB / 3.566 GB, free: 0.9609 MB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05073/15.19, allocations: 26.2 MB / 3.592 GB, free: 6.734 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08104/15.27, allocations: 57.91 MB / 3.648 GB, free: 14.09 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06704/15.34, allocations: 37.71 MB / 3.685 GB, free: 8.348 MB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002626/15.34, allocations: 304 kB / 3.685 GB, free: 8.051 MB / 1.951 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1701/15.51, allocations: 85.56 MB / 3.769 GB, free: 2.438 MB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.002616/15.51, allocations: 489.7 kB / 3.769 GB, free: 1.953 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003515/15.52, allocations: 1.027 MB / 3.77 GB, free: 0.9258 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006805/15.52, allocations: 2.438 MB / 3.773 GB, free: 14.48 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0402/15.56, allocations: 10.54 MB / 3.783 GB, free: 3.922 MB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/15.58, allocations: 12.64 MB / 3.795 GB, free: 6.734 MB / 2.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0306/15.61, allocations: 2.426 MB / 3.798 GB, free: 4.309 MB / 2.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009842/15.62, allocations: 3.562 MB / 3.801 GB, free: 0.7461 MB / 2.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4823 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.realFFT.firstTrigger,realFFT.firstTrigger,$PRE.realFFT.info,realFFT.info,$PRE.realFFT.buf[4000],realFFT.buf[4000],$PRE.realFFT.iTick,realFFT.iTick,$whenCondition3,$whenCondition1,$whenCondition2,realFFT.sampleTrigger,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 (9717): * Single equations (assignments): 9712 * Array equations: 0 * Algorithm blocks: 1 * 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.03326/15.65, allocations: 14.49 MB / 3.815 GB, free: 2.191 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005633/15.66, allocations: 2.223 MB / 3.817 GB, free: 15.95 MB / 2.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192/23.85, allocations: 8.841 GB / 12.66 GB, free: 99.66 MB / 2.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/23.85, allocations: 12 kB / 12.66 GB, free: 99.64 MB / 2.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/23.85, allocations: 5.609 kB / 12.66 GB, free: 99.64 MB / 2.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/23.85, allocations: 7.969 kB / 12.66 GB, free: 99.63 MB / 2.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.206/32.06, allocations: 8.861 GB / 21.52 GB, free: 1.912 GB / 2.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/32.06, allocations: 7.844 kB / 21.52 GB, free: 1.912 GB / 2.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/32.06, allocations: 163.6 kB / 21.52 GB, free: 1.912 GB / 2.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/32.06, allocations: 0.8078 MB / 21.52 GB, free: 1.911 GB / 2.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002592/32.06, allocations: 0.6172 MB / 21.52 GB, free: 1.911 GB / 2.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008993/32.07, allocations: 10.39 MB / 21.53 GB, free: 1.9 GB / 2.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/32.07, allocations: 8.016 kB / 21.53 GB, free: 1.9 GB / 2.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.912/39.98, allocations: 8.895 GB / 30.43 GB, free: 1.545 GB / 2.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01104/39.99, allocations: 4.805 MB / 30.43 GB, free: 1.541 GB / 2.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003131/40, allocations: 0.6219 MB / 30.43 GB, free: 1.54 GB / 2.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008551/40.01, allocations: 0.6673 MB / 30.43 GB, free: 1.539 GB / 2.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006224/40.01, allocations: 0.5583 MB / 30.43 GB, free: 1.539 GB / 2.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002124/40.01, allocations: 0.63 MB / 30.43 GB, free: 1.538 GB / 2.467 GB Notification: Performance of sorting global known variables: time 0.001789/40.02, allocations: 1.053 MB / 30.43 GB, free: 1.537 GB / 2.467 GB Notification: Performance of sort global known variables: time 4.1e-07/40.02, allocations: 0 / 30.43 GB, free: 1.537 GB / 2.467 GB Notification: Performance of remove unused functions: time 0.0522/40.07, allocations: 9.512 MB / 30.44 GB, free: 1.528 GB / 2.467 GB 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: 14 (realFFT.sampleTrigger,$whenCondition3,$whenCondition1,$whenCondition2,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,realFFT.firstTrigger,realFFT.info,realFFT.buf[4000],realFFT.iTick) * Number of discrete states: 5 (realFFT.info,$whenCondition2,realFFT.buf[4000],realFFT.iTick,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 7.995/48.06, allocations: 8.896 GB / 39.34 GB, free: 1.168 GB / 2.467 GB Notification: Performance of simCode: created initialization part: time 0.09798/48.16, allocations: 81.74 MB / 39.42 GB, free: 1.088 GB / 2.467 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/48.16, allocations: 0 / 39.42 GB, free: 1.088 GB / 2.467 GB Notification: Performance of simCode: created simulation system equations: time 59.47/107.6, allocations: 28.59 GB / 68.01 GB, free: 40.39 MB / 3.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/107.6, allocations: 1.663 MB / 68.01 GB, free: 38.77 MB / 3.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.82/108.5, allocations: 410 MB / 68.41 GB, free: 2.367 GB / 3.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01504/108.5, allocations: 8.869 MB / 68.42 GB, free: 2.358 GB / 3.076 GB Notification: Performance of simCode: alias equations: time 0.00955/108.5, allocations: 4.084 MB / 68.42 GB, free: 2.354 GB / 3.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01246/108.5, allocations: 7.053 MB / 68.43 GB, free: 2.347 GB / 3.076 GB Notification: Performance of SimCode: time 9.82e-07/108.5, allocations: 0 / 68.43 GB, free: 2.347 GB / 3.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5234/109, allocations: 406.6 MB / 68.83 GB, free: 1.95 GB / 3.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/109, allocations: 275.5 kB / 68.83 GB, free: 1.95 GB / 3.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.96/135, allocations: 0 / 68.83 GB, free: 1.95 GB / 3.076 GB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier6pulseFFT.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat does not exist to compare? outputFormat=mat