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.0008986/0.0008986, allocations: 99.98 kB / 16.94 MB, free: 5.98 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.000874/0.0008741, allocations: 173.3 kB / 17.82 MB, free: 5.652 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.389/1.389, allocations: 205.4 MB / 224 MB, free: 13.14 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.0004807/0.0004808, allocations: 12 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 47.57 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.006747/0.1198, allocations: 5.716 MB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005202/0.125, allocations: 2.834 MB / 337 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008258/0.1259, allocations: 35.81 kB / 337 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.1271, allocations: 437.9 kB / 337.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.1287, allocations: 1.147 MB / 338.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/0.1297, allocations: 355.3 kB / 338.9 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002691/0.1324, allocations: 2.028 MB / 340.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.1342, allocations: 1.587 MB / 342.5 MB, free: 5.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.1358, allocations: 1.356 MB / 343.9 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.1379, allocations: 1.691 MB / 345.6 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.1381, allocations: 160 kB / 345.7 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.1391, allocations: 415.6 kB / 346.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002724/0.1419, allocations: 4.296 MB / 350.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.1437, allocations: 2.146 MB / 352.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008759/0.1524, allocations: 9.308 MB / 361.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1525, allocations: 0 / 361.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1525, allocations: 0 / 361.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000392/0.1529, allocations: 0 / 361.9 MB, free: 2.395 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.01879/0.1717, allocations: 15.09 MB / 377 MB, free: 3.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.068e-05/0.1718, allocations: 12.03 kB / 377 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003141/0.1749, allocations: 2.056 MB / 379 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3138/0.4888, allocations: 1.482 MB / 380.5 MB, free: 41.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005543/0.4943, allocations: 2.877 MB / 383.4 MB, free: 40.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.4945, allocations: 166.9 kB / 383.6 MB, free: 40.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/0.495, allocations: 213.7 kB / 383.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/0.523, allocations: 26.93 MB / 410.7 MB, free: 23.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.5231, allocations: 0 / 410.7 MB, free: 23.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.5233, allocations: 89.48 kB / 410.8 MB, free: 23.24 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.5234, allocations: 115.5 kB / 410.9 MB, free: 23.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.5413, allocations: 24.41 MB / 435.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02207/0.5634, allocations: 14.72 MB / 450 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05858/0.622, allocations: 82.37 MB / 0.5199 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/0.6223, allocations: 127.4 kB / 0.5201 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.198/0.8203, allocations: 29.82 MB / 0.5492 GB, free: 143.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4937): time 4.338e-06/0.8204, allocations: 0 / 0.5492 GB, free: 143.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=4941): time 10.2/11.02, allocations: 2.9 GB / 3.449 GB, free: 1.639 GB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007723/11.03, allocations: 7.197 MB / 3.456 GB, free: 1.637 GB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/11.03, allocations: 1.493 MB / 3.457 GB, free: 1.636 GB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.004311/11.03, allocations: 3.934 MB / 3.461 GB, free: 1.633 GB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006844/11.04, allocations: 1.036 MB / 3.462 GB, free: 1.632 GB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.01542/11.05, allocations: 21.23 MB / 3.483 GB, free: 1.612 GB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004216/11.05, allocations: 1.489 MB / 3.484 GB, free: 1.61 GB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.004659/11.06, allocations: 3.462 MB / 3.488 GB, free: 1.607 GB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03861/11.1, allocations: 26.21 MB / 3.513 GB, free: 1.581 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05155/11.15, allocations: 57.61 MB / 3.57 GB, free: 1.511 GB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04718/11.2, allocations: 37.73 MB / 3.606 GB, free: 1.474 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001218/11.2, allocations: 300 kB / 3.607 GB, free: 1.473 GB / 1.92 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1386/11.34, allocations: 85.58 MB / 3.69 GB, free: 1.39 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/11.34, allocations: 486.8 kB / 3.691 GB, free: 1.389 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002033/11.34, allocations: 1.027 MB / 3.692 GB, free: 1.388 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005335/11.35, allocations: 2.447 MB / 3.694 GB, free: 1.386 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03543/11.38, allocations: 10.54 MB / 3.705 GB, free: 1.376 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/11.39, allocations: 12.85 MB / 3.717 GB, free: 1.362 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03272/11.43, allocations: 2.426 MB / 3.719 GB, free: 1.36 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008647/11.44, allocations: 3.566 MB / 3.723 GB, free: 1.357 GB / 1.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4822 * 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.02865/11.46, allocations: 14.49 MB / 3.737 GB, free: 1.342 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003456/11.47, allocations: 2.215 MB / 3.739 GB, free: 1.34 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921/18.39, allocations: 8.841 GB / 12.58 GB, free: 447.7 MB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/18.39, allocations: 12 kB / 12.58 GB, free: 447.7 MB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/18.39, allocations: 4.594 kB / 12.58 GB, free: 447.7 MB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/18.39, allocations: 7.672 kB / 12.58 GB, free: 447.7 MB / 1.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.384/25.77, allocations: 8.861 GB / 21.44 GB, free: 1.092 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/25.77, allocations: 3.688 kB / 21.44 GB, free: 1.092 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/25.77, allocations: 159.3 kB / 21.44 GB, free: 1.092 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/25.78, allocations: 0.8117 MB / 21.44 GB, free: 1.091 GB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002395/25.78, allocations: 0.6191 MB / 21.44 GB, free: 1.09 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008666/25.79, allocations: 10.61 MB / 21.45 GB, free: 1.079 GB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/25.79, allocations: 0 / 21.45 GB, free: 1.079 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.218/33, allocations: 8.895 GB / 30.35 GB, free: 116.8 MB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01244/33.02, allocations: 4.808 MB / 30.35 GB, free: 112.8 MB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002786/33.02, allocations: 0.6211 MB / 30.35 GB, free: 112.2 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006238/33.03, allocations: 0.6659 MB / 30.35 GB, free: 111.5 MB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002471/33.03, allocations: 0.5519 MB / 30.35 GB, free: 111 MB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001186/33.03, allocations: 0.6211 MB / 30.36 GB, free: 110.3 MB / 1.92 GB Notification: Performance of sorting global known variables: time 0.001411/33.03, allocations: 1.062 MB / 30.36 GB, free: 109.3 MB / 1.92 GB Notification: Performance of sort global known variables: time 1.4e-07/33.03, allocations: 0 / 30.36 GB, free: 109.3 MB / 1.92 GB Notification: Performance of remove unused functions: time 0.04146/33.07, allocations: 9.512 MB / 30.37 GB, free: 99.77 MB / 1.92 GB 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: 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 (82): * Single equations (assignments): 76 * 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.835/40.91, allocations: 8.896 GB / 39.26 GB, free: 0.7134 GB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.09457/41, allocations: 81.77 MB / 39.34 GB, free: 0.6339 GB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/41, allocations: 0 / 39.34 GB, free: 0.6339 GB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 57.8/98.81, allocations: 28.59 GB / 67.93 GB, free: 1.395 GB / 2.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007046/98.81, allocations: 1.058 MB / 67.93 GB, free: 1.394 GB / 2.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4873/99.3, allocations: 1.103 GB / 69.03 GB, free: 269 MB / 2.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00783/99.31, allocations: 9.133 MB / 69.04 GB, free: 259.8 MB / 2.326 GB Notification: Performance of simCode: alias equations: time 0.009822/99.32, allocations: 4.087 MB / 69.05 GB, free: 255.7 MB / 2.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01283/99.33, allocations: 7.037 MB / 69.05 GB, free: 248.7 MB / 2.326 GB Notification: Performance of SimCode: time 3.977e-06/99.33, allocations: 0 / 69.05 GB, free: 248.7 MB / 2.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8486/100.2, allocations: 406.6 MB / 69.45 GB, free: 1.811 GB / 2.326 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/100.2, allocations: 260.2 kB / 69.45 GB, free: 1.811 GB / 2.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.3/123.5, allocations: 0 / 69.45 GB, free: 1.811 GB / 2.326 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