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.0009618/0.0009615, allocations: 92.97 kB / 16.95 MB, free: 6.457 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.0009305/0.0009307, allocations: 182.7 kB / 17.84 MB, free: 6.008 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.706/1.706, 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.0004972/0.0004974, allocations: 16.94 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01223/0.1258, allocations: 9.576 MB / 338 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008353/0.1342, allocations: 3.694 MB / 341.7 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.1367, allocations: 67.62 kB / 341.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.1393, allocations: 0.6096 MB / 342.4 MB, free: 5.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.1437, allocations: 1.596 MB / 344 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.146, allocations: 491.3 kB / 344.5 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008413/0.1544, allocations: 5.666 MB / 350.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005807/0.1603, allocations: 2.878 MB / 353 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.1647, allocations: 2.204 MB / 355.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005755/0.1705, allocations: 2.847 MB / 358.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.1723, allocations: 280 kB / 358.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.1763, allocations: 0.5347 MB / 358.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005866/0.1822, allocations: 4.88 MB / 363.7 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004532/0.1867, allocations: 2.563 MB / 366.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01638/0.2032, allocations: 12.69 MB / 379 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.2032, allocations: 0 / 379 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2032, allocations: 4 kB / 379 MB, free: 1.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007135/0.2039, allocations: 0 / 379 MB, free: 1.215 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.431/0.6349, allocations: 16.87 MB / 395.9 MB, free: 38.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.635, allocations: 11.59 kB / 395.9 MB, free: 38.29 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003773/0.6388, allocations: 2.298 MB / 398.2 MB, free: 36.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004975/0.6438, allocations: 1.727 MB / 399.9 MB, free: 35.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/0.652, allocations: 3.926 MB / 403.8 MB, free: 31.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.6521, allocations: 295 kB / 404.1 MB, free: 31.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/0.6526, allocations: 394.8 kB / 404.5 MB, free: 30.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02742/0.6801, allocations: 29.54 MB / 434.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.751e-05/0.6802, allocations: 0 / 434.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003624/0.6805, allocations: 163.5 kB / 434.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.6807, allocations: 210.6 kB / 434.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03716/0.7179, allocations: 26.85 MB / 461.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04565/0.7636, allocations: 22.25 MB / 483.5 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3257/1.089, allocations: 85.77 MB / 0.556 GB, free: 132.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05012/1.14, allocations: 81.67 MB / 0.6357 GB, free: 59.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/1.14, allocations: 140.4 kB / 0.6358 GB, free: 59.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02483/1.165, allocations: 30.63 MB / 0.6658 GB, free: 28.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5058): time 5.871e-06/1.165, allocations: 0 / 0.6658 GB, free: 28.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=5065): time 13.54/14.71, allocations: 2.902 GB / 3.568 GB, free: 11.93 MB / 1.858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005677/14.71, allocations: 7.364 MB / 3.575 GB, free: 4.438 MB / 1.858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/14.72, allocations: 2.637 MB / 3.577 GB, free: 1.781 MB / 1.858 GB Notification: Performance of collectPreVariables (initialization): time 0.005967/14.72, allocations: 3.956 MB / 3.581 GB, free: 13.8 MB / 1.873 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/14.73, allocations: 1.742 MB / 3.583 GB, free: 12.05 MB / 1.873 GB Notification: Performance of collectInitialBindings (initialization): time 0.02766/14.75, allocations: 21.63 MB / 3.604 GB, free: 6.125 MB / 1.889 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005855/14.76, allocations: 1.516 MB / 3.606 GB, free: 4.609 MB / 1.889 GB Notification: Performance of setup shared object (initialization): time 0.006525/14.77, allocations: 3.503 MB / 3.609 GB, free: 1.098 MB / 1.889 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05762/14.82, allocations: 26.84 MB / 3.635 GB, free: 6.227 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08415/14.91, allocations: 58.75 MB / 3.693 GB, free: 12.71 MB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06327/14.97, allocations: 38.49 MB / 3.73 GB, free: 6.168 MB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001672/14.97, allocations: 304 kB / 3.73 GB, free: 5.871 MB / 2.029 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.1738/15.15, allocations: 87.7 MB / 3.816 GB, free: 14.07 MB / 2.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.001195/15.15, allocations: 488.8 kB / 3.817 GB, free: 13.59 MB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002467/15.15, allocations: 1.035 MB / 3.818 GB, free: 12.55 MB / 2.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009211/15.16, allocations: 3.265 MB / 3.821 GB, free: 9.258 MB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04129/15.2, allocations: 10.72 MB / 3.831 GB, free: 14.52 MB / 2.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02958/15.23, allocations: 25.6 MB / 3.856 GB, free: 3.59 MB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0327/15.26, allocations: 2.496 MB / 3.859 GB, free: 1.094 MB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009506/15.27, allocations: 3.598 MB / 3.862 GB, free: 13.49 MB / 2.17 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.03263/15.3, allocations: 15.08 MB / 3.877 GB, free: 14.34 MB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006096/15.31, allocations: 2.346 MB / 3.879 GB, free: 11.97 MB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26/23.57, allocations: 8.843 GB / 12.72 GB, free: 0.6776 GB / 2.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/23.57, allocations: 26.19 kB / 12.72 GB, free: 0.6775 GB / 2.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-05/23.57, allocations: 8 kB / 12.72 GB, free: 0.6775 GB / 2.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.676e-05/23.57, allocations: 15.94 kB / 12.72 GB, free: 0.6775 GB / 2.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.302/31.87, allocations: 8.865 GB / 21.59 GB, free: 1.256 GB / 2.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/31.87, allocations: 4 kB / 21.59 GB, free: 1.256 GB / 2.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/31.87, allocations: 294.5 kB / 21.59 GB, free: 1.255 GB / 2.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004732/31.88, allocations: 1.617 MB / 21.59 GB, free: 1.254 GB / 2.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002604/31.88, allocations: 0.6504 MB / 21.59 GB, free: 1.253 GB / 2.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/31.9, allocations: 23.21 MB / 21.61 GB, free: 1.23 GB / 2.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/31.9, allocations: 9.984 kB / 21.61 GB, free: 1.23 GB / 2.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.507/40.41, allocations: 8.897 GB / 30.51 GB, free: 1.78 GB / 2.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01474/40.42, allocations: 5.087 MB / 30.52 GB, free: 1.775 GB / 2.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005433/40.43, allocations: 0.6506 MB / 30.52 GB, free: 1.775 GB / 2.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01175/40.44, allocations: 0.727 MB / 30.52 GB, free: 1.774 GB / 2.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007129/40.45, allocations: 0.646 MB / 30.52 GB, free: 1.773 GB / 2.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00287/40.45, allocations: 0.6523 MB / 30.52 GB, free: 1.773 GB / 2.233 GB Notification: Performance of sorting global known variables: time 0.002902/40.45, allocations: 1.843 MB / 30.52 GB, free: 1.771 GB / 2.233 GB Notification: Performance of sort global known variables: time 1.062e-06/40.45, allocations: 0 / 30.52 GB, free: 1.771 GB / 2.233 GB Notification: Performance of remove unused functions: time 0.0555/40.51, allocations: 9.96 MB / 30.53 GB, free: 1.761 GB / 2.233 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.981/48.49, allocations: 8.899 GB / 39.43 GB, free: 420.5 MB / 2.233 GB Notification: Performance of simCode: created initialization part: time 0.103/48.59, allocations: 84.2 MB / 39.51 GB, free: 336.6 MB / 2.233 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/48.59, allocations: 4.438 kB / 39.51 GB, free: 336.6 MB / 2.233 GB Notification: Performance of simCode: created simulation system equations: time 66.16/114.8, allocations: 28.59 GB / 68.1 GB, free: 314.9 MB / 3.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01485/114.8, allocations: 2.103 MB / 68.1 GB, free: 312.9 MB / 3.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8696/115.6, allocations: 437 MB / 68.53 GB, free: 2.601 GB / 3.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01226/115.7, allocations: 9.997 MB / 68.54 GB, free: 2.591 GB / 3.076 GB Notification: Performance of simCode: alias equations: time 0.01078/115.7, allocations: 4.353 MB / 68.55 GB, free: 2.587 GB / 3.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0135/115.7, allocations: 8.04 MB / 68.55 GB, free: 2.579 GB / 3.076 GB Notification: Performance of SimCode: time 1.332e-06/115.7, allocations: 1.344 kB / 68.55 GB, free: 2.579 GB / 3.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6108/116.3, allocations: 446.8 MB / 68.99 GB, free: 2.143 GB / 3.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/116.3, allocations: 264.9 kB / 68.99 GB, free: 2.143 GB / 3.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.51/142.8, allocations: 0 / 68.99 GB, free: 2.143 GB / 3.076 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