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.RectifierBridge2mPulse.HalfControlledBridge2mPulse.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.RectifierBridge2mPulse.HalfControlledBridge2mPulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 12 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09591, allocations: 44.5 MB / 308.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5362, allocations: 87.66 MB / 396.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.5366, allocations: 90.94 kB / 396.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1083/0.6449, allocations: 28.47 MB / 424.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6449, allocations: 0 / 424.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001709/0.6451, allocations: 47.12 kB / 424.8 MB, free: 4.406 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.006553/0.6517, allocations: 2.057 MB / 426.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6518, allocations: 7.75 kB / 426.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008988/0.6527, allocations: 248.2 kB / 427.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.6533, allocations: 210.1 kB / 427.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007212/0.6605, allocations: 2.053 MB / 429.4 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.6607, allocations: 121.4 kB / 429.5 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005091/0.6612, allocations: 163.8 kB / 429.7 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005739/0.667, allocations: 2.243 MB / 431.9 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.926e-05/0.6671, allocations: 0 / 431.9 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.6673, allocations: 70.8 kB / 432 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.039e-05/0.6675, allocations: 65.12 kB / 432 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/0.6732, allocations: 1.883 MB / 433.9 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.6904, allocations: 6.49 MB / 440.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004522/0.695, allocations: 1.602 MB / 442 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-05/0.6952, allocations: 9 kB / 442 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002228/0.6974, allocations: 0.864 MB / 442.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 4.769e-06/0.6974, allocations: 0 / 442.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.01507/0.7125, allocations: 3.42 MB / 446.3 MB, free: 6.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.7127, allocations: 153.5 kB / 446.5 MB, free: 6.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.7152, allocations: 1.018 MB / 447.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003038/0.7155, allocations: 69.67 kB / 447.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008791/0.7164, allocations: 0.7003 MB / 448.2 MB, free: 4.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/0.7169, allocations: 346.2 kB / 448.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.7171, allocations: 28 kB / 448.6 MB, free: 4.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.7173, allocations: 362.8 kB / 449 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.7191, allocations: 0.6271 MB / 449.6 MB, free: 3.488 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.7212, allocations: 0.883 MB / 450.5 MB, free: 2.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.7231, allocations: 0.6783 MB / 451.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.7231, allocations: 4 kB / 451.2 MB, free: 1.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004837/0.728, allocations: 1.806 MB / 453 MB, free: 16 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001041/0.7291, allocations: 2.449 MB / 455.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.7291, allocations: 7.984 kB / 455.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/0.7312, allocations: 488.3 kB / 455.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.7328, allocations: 155.7 kB / 456 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.7505, allocations: 5.462 MB / 461.5 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.7524, allocations: 187 kB / 461.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.7526, allocations: 51.94 kB / 461.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7526, allocations: 4 kB / 461.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004639/0.7573, allocations: 1.723 MB / 463.5 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.7573, allocations: 15.98 kB / 463.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.7591, allocations: 485.2 kB / 464 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.7603, allocations: 151.7 kB / 464.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.7721, allocations: 5.505 MB / 469.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.7734, allocations: 159.2 kB / 469.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.7736, allocations: 44.05 kB / 469.8 MB, free: 14.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.001898/0.7755, allocations: 0.7467 MB / 470.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.776, allocations: 126.5 kB / 470.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.7765, allocations: 160.1 kB / 470.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.7766, allocations: 12 kB / 470.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.7766, allocations: 3.984 kB / 470.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.7766, allocations: 3.984 kB / 470.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008886/0.7855, allocations: 3.435 MB / 474.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.7856, allocations: 0 / 474.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.7863, allocations: 87.89 kB / 474.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.7882, allocations: 480.4 kB / 474.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.7884, allocations: 23.94 kB / 474.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.8007, allocations: 5.43 MB / 480.3 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8007, allocations: 0 / 480.3 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006718/0.8075, allocations: 2.548 MB / 482.9 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.8087, allocations: 355.3 kB / 483.2 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.809, allocations: 40.06 kB / 483.2 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.8103, allocations: 103.9 kB / 483.3 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006387/0.811, allocations: 172.8 kB / 483.5 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.8111, allocations: 35.98 kB / 483.5 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001945/0.813, allocations: 0.7845 MB / 484.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.8131, allocations: 0 / 484.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003321/0.8164, allocations: 0.802 MB / 485.1 MB, free: 15.14 MB / 378.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.007287/0.8237, allocations: 3.187 MB / 488.3 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008156/0.8319, allocations: 2.964 MB / 491.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.832, allocations: 1.125 kB / 491.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002894/0.8349, allocations: 1.067 MB / 492.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.8373, allocations: 312.8 kB / 492.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.8521, allocations: 9.037 MB / 0.4899 GB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.8542, allocations: 1.635 MB / 0.4915 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/0.8556, allocations: 0.5773 MB / 0.4921 GB, free: 12.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8557, allocations: 4 kB / 0.4921 GB, free: 12.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.778/4.634, allocations: 37.51 MB / 0.5287 GB, free: 123.5 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat