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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 12 kB / 264.1 MB, free: 13.45 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 44.5 MB / 308.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.5081, allocations: 76.29 MB / 384.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.5085, allocations: 85.28 kB / 384.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02819/0.5367, allocations: 7.054 MB / 392 MB, free: 13.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5368, allocations: 0 / 392 MB, free: 13.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.168e-05/0.5368, allocations: 11.06 kB / 392 MB, free: 13.59 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001569/0.5384, allocations: 0.7023 MB / 392.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5385, allocations: 7.781 kB / 392.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.5386, allocations: 87.48 kB / 392.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.5388, allocations: 62.17 kB / 392.8 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.5394, allocations: 347 kB / 393.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/0.5395, allocations: 30.88 kB / 393.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.5396, allocations: 45.77 kB / 393.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.5406, allocations: 448.5 kB / 393.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.5407, allocations: 0 / 393.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.5408, allocations: 17.5 kB / 393.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.5408, allocations: 11.62 kB / 393.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008684/0.5417, allocations: 323.6 kB / 394 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.545, allocations: 1.851 MB / 395.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5461, allocations: 0.606 MB / 396.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.5462, allocations: 4.203 kB / 396.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006249/0.5468, allocations: 272.9 kB / 396.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.906e-06/0.5468, allocations: 3.938 kB / 396.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.003634/0.5505, allocations: 0.842 MB / 397.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.5506, allocations: 84.78 kB / 397.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.551, allocations: 271.8 kB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.5511, allocations: 39.88 kB / 398 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.5512, allocations: 270.7 kB / 398.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.5514, allocations: 129.3 kB / 398.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.5514, allocations: 10.84 kB / 398.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.5515, allocations: 328.3 kB / 398.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.5519, allocations: 115.8 kB / 398.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.5523, allocations: 254.7 kB / 399.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.5527, allocations: 138.5 kB / 399.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5527, allocations: 4 kB / 399.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001192/0.5539, allocations: 0.4924 MB / 399.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.554, allocations: 7.719 kB / 399.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.554, allocations: 6.234 kB / 399.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.5547, allocations: 142.6 kB / 399.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.5551, allocations: 58.31 kB / 399.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.5586, allocations: 2.35 MB / 402.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.5592, allocations: 49.08 kB / 402.3 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.5592, allocations: 18.97 kB / 402.3 MB, free: 8.578 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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.5596, allocations: 171.7 kB / 402.5 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.5597, allocations: 39.02 kB / 402.5 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.5598, allocations: 46.92 kB / 402.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5598, allocations: 3.781 kB / 402.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5598, allocations: 3.797 kB / 402.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.5599, allocations: 0 / 402.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.5617, allocations: 1.008 MB / 403.6 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5618, allocations: 0 / 403.6 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.5621, allocations: 40.12 kB / 403.7 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/0.5628, allocations: 146.2 kB / 403.8 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.5628, allocations: 9.562 kB / 403.8 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/0.5663, allocations: 2.33 MB / 406.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5664, allocations: 0 / 406.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.5682, allocations: 0.707 MB / 406.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.5685, allocations: 152.8 kB / 407 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.5686, allocations: 11.28 kB / 407 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.569, allocations: 17.92 kB / 407 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.5691, allocations: 38.62 kB / 407.1 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.5692, allocations: 14.33 kB / 407.1 MB, free: 6.371 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003048/0.5695, allocations: 214.1 kB / 407.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5695, allocations: 0 / 407.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008553/0.5704, allocations: 153 kB / 407.4 MB, free: 6.273 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001894/0.5723, allocations: 1.273 MB / 408.7 MB, free: 5.559 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.5736, allocations: 0.532 MB / 409.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5736, allocations: 0 / 409.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.5744, allocations: 393 kB / 409.6 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.5751, allocations: 68.73 kB / 409.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.5801, allocations: 3.685 MB / 413.4 MB, free: 18.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.5807, allocations: 0.8363 MB / 414.2 MB, free: 17.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.581, allocations: 140.4 kB / 414.3 MB, free: 17.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.581, allocations: 0 / 414.3 MB, free: 17.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.785/3.366, allocations: 8.368 MB / 422.7 MB, free: 13.64 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.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat