Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1059, allocations: 44.51 MB / 308.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/0.5067, allocations: 75.3 MB / 383.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.507, allocations: 86.55 kB / 383.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02431/0.5314, allocations: 6.18 MB / 390.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5314, allocations: 0 / 390.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.5314, allocations: 7.938 kB / 390.1 MB, free: 13.78 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001361/0.5328, allocations: 0.6568 MB / 390.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5329, allocations: 11.66 kB / 390.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.533, allocations: 75.33 kB / 390.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.5331, allocations: 54 kB / 390.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.5337, allocations: 329.3 kB / 391.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.5337, allocations: 22.84 kB / 391.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.5338, allocations: 47.62 kB / 391.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008635/0.5347, allocations: 378.2 kB / 391.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.5347, allocations: 0 / 391.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.5348, allocations: 17.36 kB / 391.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5348, allocations: 11.7 kB / 391.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000749/0.5356, allocations: 264.8 kB / 392 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.5382, allocations: 1.484 MB / 393.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.5389, allocations: 241.6 kB / 393.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.5389, allocations: 4.109 kB / 393.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005267/0.5395, allocations: 227.8 kB / 393.9 MB, free: 12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.494e-06/0.5395, allocations: 0 / 393.9 MB, free: 12 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.002207/0.5417, allocations: 0.5917 MB / 394.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.5418, allocations: 80.98 kB / 394.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.5421, allocations: 266.1 kB / 394.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.5422, allocations: 31.27 kB / 394.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.5423, allocations: 263.6 kB / 395.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.5424, allocations: 95.94 kB / 395.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.5425, allocations: 7.625 kB / 395.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.5426, allocations: 331.1 kB / 395.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.5429, allocations: 96.39 kB / 395.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.5432, allocations: 213 kB / 395.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.5436, allocations: 109.3 kB / 396 MB, free: 10.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5436, allocations: 3.938 kB / 396 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009943/0.5446, allocations: 400.3 kB / 396.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5446, allocations: 3.812 kB / 396.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5447, allocations: 7.75 kB / 396.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.5451, allocations: 88.88 kB / 396.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.5455, allocations: 54.92 kB / 396.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.5477, allocations: 1.831 MB / 398.3 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.5482, allocations: 38.81 kB / 398.4 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.5483, allocations: 14.98 kB / 398.4 MB, free: 9.367 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.5486, allocations: 167.1 kB / 398.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.5486, allocations: 31.25 kB / 398.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/0.5487, allocations: 44.42 kB / 398.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5488, allocations: 3.875 kB / 398.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5488, allocations: 4 kB / 398.6 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5488, allocations: 3.281 kB / 398.6 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.5493, allocations: 407.7 kB / 399 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5493, allocations: 0 / 399 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.5496, allocations: 37.03 kB / 399.1 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/0.55, allocations: 78.69 kB / 399.2 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.5501, allocations: 9.484 kB / 399.2 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.5523, allocations: 1.817 MB / 401 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5523, allocations: 0 / 401 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.5538, allocations: 0.5138 MB / 401.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.554, allocations: 138.2 kB / 401.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.5541, allocations: 7 kB / 401.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.5544, allocations: 18.61 kB / 401.7 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5545, allocations: 25.95 kB / 401.7 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.5545, allocations: 10.75 kB / 401.7 MB, free: 7.383 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.5548, allocations: 205.5 kB / 401.9 MB, free: 7.301 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5548, allocations: 3.875 kB / 401.9 MB, free: 7.301 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006536/0.5555, allocations: 107.2 kB / 402 MB, free: 7.289 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001697/0.5572, allocations: 1.077 MB / 403.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.5584, allocations: 429.5 kB / 403.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5584, allocations: 0 / 403.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.559, allocations: 290.8 kB / 403.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.5595, allocations: 53.34 kB / 403.8 MB, free: 6.359 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.5625, allocations: 3.487 MB / 407.3 MB, free: 19.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.5631, allocations: 0.8206 MB / 408.1 MB, free: 18.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.5633, allocations: 119.8 kB / 408.3 MB, free: 18.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5634, allocations: 0 / 408.3 MB, free: 18.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.767/3.33, allocations: 7.223 MB / 415.5 MB, free: 16.26 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat