Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFT,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier12pulseFFT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Rectifier12pulseFFT,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier12pulseFFT",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.0008965/0.000897, allocations: 100.8 kB / 16.94 MB, free: 6.445 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.0008871/0.0008872, allocations: 184.2 kB / 17.83 MB, free: 6.039 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.414/1.414, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004607/0.0004607, allocations: 8 kB / 280.8 MB, free: 3.66 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09776, allocations: 47.58 MB / 328.4 MB, free: 4.02 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.00939/0.1072, allocations: 8.787 MB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007358/0.1146, allocations: 3.805 MB / 341 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.1167, allocations: 63.62 kB / 341.1 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.1184, allocations: 0.6529 MB / 341.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.1215, allocations: 1.532 MB / 343.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.1228, allocations: 475.2 kB / 343.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004753/0.1276, allocations: 3.51 MB / 347.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003328/0.1309, allocations: 2.882 MB / 350.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.1339, allocations: 2.076 MB / 352.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003563/0.1375, allocations: 2.547 MB / 354.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004913/0.138, allocations: 287.9 kB / 355 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.1396, allocations: 0.5153 MB / 355.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003372/0.1429, allocations: 4.818 MB / 360.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.1455, allocations: 2.563 MB / 362.9 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.1589, allocations: 12.37 MB / 375.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.159, allocations: 4 kB / 375.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.159, allocations: 0 / 375.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005902/0.1596, allocations: 0 / 375.3 MB, free: 4.957 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.3342/0.4937, allocations: 16.88 MB / 392.2 MB, free: 37.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4938, allocations: 8.25 kB / 392.2 MB, free: 37.56 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004051/0.4979, allocations: 2.3 MB / 394.5 MB, free: 36.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.5024, allocations: 1.724 MB / 396.2 MB, free: 35.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008001/0.5105, allocations: 3.923 MB / 400.1 MB, free: 31.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.5106, allocations: 299.2 kB / 400.4 MB, free: 31.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004458/0.5111, allocations: 391.4 kB / 400.8 MB, free: 31.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/0.5359, allocations: 29.51 MB / 430.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.926e-05/0.536, allocations: 3.938 kB / 430.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.5364, allocations: 165.6 kB / 430.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.5366, allocations: 208 kB / 430.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03318/0.5698, allocations: 26.83 MB / 457.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0382/0.608, allocations: 22.27 MB / 479.8 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2372/0.8452, allocations: 85.76 MB / 0.5523 GB, free: 128.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.8456, allocations: 144.5 kB / 0.5524 GB, free: 128.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02312/0.8687, allocations: 30.64 MB / 0.5823 GB, free: 110.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5058): time 4.569e-06/0.8688, allocations: 0 / 0.5823 GB, free: 110.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=5065): time 11.34/12.21, allocations: 2.905 GB / 3.488 GB, free: 126.4 MB / 1.842 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003516/12.21, allocations: 7.364 MB / 3.495 GB, free: 119.3 MB / 1.842 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/12.21, allocations: 2.63 MB / 3.497 GB, free: 116.6 MB / 1.842 GB Notification: Performance of collectPreVariables (initialization): time 0.004243/12.22, allocations: 3.955 MB / 3.501 GB, free: 112.6 MB / 1.842 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/12.22, allocations: 1.743 MB / 3.503 GB, free: 110.9 MB / 1.842 GB Notification: Performance of collectInitialBindings (initialization): time 0.02017/12.24, allocations: 21.64 MB / 3.524 GB, free: 89.35 MB / 1.842 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005231/12.25, allocations: 1.516 MB / 3.526 GB, free: 87.84 MB / 1.842 GB Notification: Performance of setup shared object (initialization): time 0.004964/12.25, allocations: 3.499 MB / 3.529 GB, free: 84.32 MB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04591/12.3, allocations: 26.87 MB / 3.555 GB, free: 57.44 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06753/12.36, allocations: 58.47 MB / 3.612 GB, free: 216 kB / 1.858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06246/12.43, allocations: 38.5 MB / 3.65 GB, free: 9.656 MB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001385/12.43, allocations: 304 kB / 3.65 GB, free: 9.359 MB / 1.904 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.1667/12.59, allocations: 87.73 MB / 3.736 GB, free: 1.512 MB / 1.983 GB Notification: Performance of prepare postOptimizeDAE: time 0.001355/12.6, allocations: 485.8 kB / 3.736 GB, free: 1.031 MB / 1.983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002131/12.6, allocations: 1.039 MB / 3.737 GB, free: 15.99 MB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008905/12.61, allocations: 3.257 MB / 3.741 GB, free: 12.71 MB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03865/12.65, allocations: 10.73 MB / 3.751 GB, free: 1.961 MB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02657/12.67, allocations: 26.01 MB / 3.776 GB, free: 6.637 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03226/12.7, allocations: 2.488 MB / 3.779 GB, free: 4.148 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009759/12.71, allocations: 3.602 MB / 3.782 GB, free: 0.5469 MB / 2.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4834 * Number of states: 0 () * Number of discrete variables: 24 ($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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9811): * Single equations (assignments): 9800 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.03309/12.75, allocations: 15.08 MB / 3.797 GB, free: 1.395 MB / 2.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005045/12.75, allocations: 2.346 MB / 3.799 GB, free: 15.02 MB / 2.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861/19.61, allocations: 8.844 GB / 12.64 GB, free: 1.1 GB / 2.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/19.61, allocations: 24 kB / 12.64 GB, free: 1.1 GB / 2.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.106e-05/19.61, allocations: 8 kB / 12.64 GB, free: 1.1 GB / 2.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.575e-05/19.61, allocations: 15.94 kB / 12.64 GB, free: 1.1 GB / 2.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.864/26.48, allocations: 8.865 GB / 21.51 GB, free: 1.538 GB / 2.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/26.48, allocations: 1.156 kB / 21.51 GB, free: 1.538 GB / 2.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/26.48, allocations: 289.3 kB / 21.51 GB, free: 1.538 GB / 2.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00473/26.48, allocations: 1.621 MB / 21.51 GB, free: 1.537 GB / 2.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00234/26.49, allocations: 0.6484 MB / 21.51 GB, free: 1.536 GB / 2.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/26.5, allocations: 23.63 MB / 21.53 GB, free: 1.512 GB / 2.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/26.5, allocations: 9.984 kB / 21.53 GB, free: 1.512 GB / 2.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.068/33.57, allocations: 8.898 GB / 30.43 GB, free: 1.923 GB / 2.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01313/33.58, allocations: 5.09 MB / 30.44 GB, free: 1.919 GB / 2.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003677/33.59, allocations: 0.6484 MB / 30.44 GB, free: 1.918 GB / 2.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007479/33.6, allocations: 0.7249 MB / 30.44 GB, free: 1.918 GB / 2.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004209/33.6, allocations: 0.654 MB / 30.44 GB, free: 1.917 GB / 2.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002264/33.6, allocations: 0.6562 MB / 30.44 GB, free: 1.916 GB / 2.67 GB Notification: Performance of sorting global known variables: time 0.002715/33.61, allocations: 1.841 MB / 30.44 GB, free: 1.915 GB / 2.67 GB Notification: Performance of sort global known variables: time 1.6e-07/33.61, allocations: 0 / 30.44 GB, free: 1.915 GB / 2.67 GB Notification: Performance of remove unused functions: time 0.04196/33.65, allocations: 9.964 MB / 30.45 GB, free: 1.905 GB / 2.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 20 (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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.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 (155): * Single equations (assignments): 143 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 7.196/40.84, allocations: 8.899 GB / 39.35 GB, free: 2.266 GB / 2.67 GB Notification: Performance of simCode: created initialization part: time 0.1048/40.95, allocations: 84.24 MB / 39.43 GB, free: 2.226 GB / 2.67 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/40.95, allocations: 0 / 39.43 GB, free: 2.226 GB / 2.67 GB Notification: Performance of simCode: created simulation system equations: time 50.51/91.46, allocations: 28.59 GB / 68.02 GB, free: 390.4 MB / 3.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008917/91.47, allocations: 1.476 MB / 68.03 GB, free: 389 MB / 3.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.013/92.48, allocations: 1.131 GB / 69.16 GB, free: 2.091 GB / 3.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01158/92.49, allocations: 10.28 MB / 69.17 GB, free: 2.081 GB / 3.217 GB Notification: Performance of simCode: alias equations: time 0.01049/92.5, allocations: 4.367 MB / 69.17 GB, free: 2.077 GB / 3.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01375/92.52, allocations: 8.04 MB / 69.18 GB, free: 2.069 GB / 3.217 GB Notification: Performance of SimCode: time 2.204e-06/92.52, allocations: 0 / 69.18 GB, free: 2.069 GB / 3.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5795/93.1, allocations: 446.8 MB / 69.62 GB, free: 1.633 GB / 3.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/93.1, allocations: 256.1 kB / 69.62 GB, free: 1.632 GB / 3.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.08/117.2, allocations: 0 / 69.62 GB, free: 1.632 GB / 3.217 GB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier12pulseFFT_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Rectifier12pulseFFT.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT_res.mat does not exist to compare? outputFormat=mat