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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003513, allocations: 16 kB / 264.1 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09685, allocations: 44.5 MB / 308.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5266, allocations: 85.62 MB / 394.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.527, allocations: 91.81 kB / 394.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1064/0.6334, allocations: 28.56 MB / 422.8 MB, free: 5.375 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.6335, allocations: 0 / 422.8 MB, free: 5.375 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001596/0.6336, allocations: 33.56 kB / 422.9 MB, free: 5.371 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005591/0.6392, allocations: 1.695 MB / 424.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6393, allocations: 9.625 kB / 424.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006854/0.64, allocations: 210.8 kB / 424.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.6405, allocations: 166.3 kB / 424.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005832/0.6463, allocations: 1.637 MB / 426.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.6465, allocations: 99.86 kB / 426.7 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.6469, allocations: 140.4 kB / 426.8 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/0.6514, allocations: 1.756 MB / 428.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.6515, allocations: 0 / 428.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.6517, allocations: 61.12 kB / 428.6 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.232e-05/0.6518, allocations: 56.81 kB / 428.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004319/0.6562, allocations: 1.455 MB / 430.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.6679, allocations: 5.025 MB / 435.2 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.6712, allocations: 1.129 MB / 436.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/0.6713, allocations: 8.656 kB / 436.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.6731, allocations: 0.6689 MB / 437 MB, free: 15.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 3.998e-06/0.6731, allocations: 0 / 437 MB, free: 15.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.006528/0.6797, allocations: 1.805 MB / 438.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.6798, allocations: 118.2 kB / 438.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.6816, allocations: 0.7689 MB / 439.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002417/0.6819, allocations: 59.5 kB / 439.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007166/0.6826, allocations: 0.5962 MB / 440.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.6831, allocations: 255.5 kB / 440.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.6832, allocations: 16 kB / 440.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6834, allocations: 350.8 kB / 440.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.6849, allocations: 473.7 kB / 441.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.6866, allocations: 0.6917 MB / 442.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.6881, allocations: 498.7 kB / 442.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.6881, allocations: 4 kB / 442.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003812/0.692, allocations: 1.279 MB / 443.8 MB, free: 8.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001027/0.693, allocations: 2.445 MB / 446.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.6931, allocations: 8 kB / 446.3 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009722/0.6941, allocations: 228.7 kB / 446.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.6953, allocations: 163.7 kB / 446.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.7006, allocations: 2.826 MB / 449.5 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.7021, allocations: 147.2 kB / 449.6 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.7022, allocations: 36 kB / 449.7 MB, free: 2.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7023, allocations: 8 kB / 449.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003417/0.7057, allocations: 1.204 MB / 450.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.7057, allocations: 8 kB / 450.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007432/0.7065, allocations: 221.1 kB / 451.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.7076, allocations: 155.7 kB / 451.3 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/0.7128, allocations: 2.869 MB / 454.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.7139, allocations: 131.3 kB / 454.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7141, allocations: 36 kB / 454.3 MB, free: 14 MB / 346.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: 48 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001433/0.7155, allocations: 0.606 MB / 454.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.7159, allocations: 90.88 kB / 455 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.7162, allocations: 117.6 kB / 455.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.7163, allocations: 11.98 kB / 455.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.7163, allocations: 4 kB / 455.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.7163, allocations: 3.984 kB / 455.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006936/0.7232, allocations: 2.569 MB / 457.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.7233, allocations: 0 / 457.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008823/0.7242, allocations: 103.8 kB / 457.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007813/0.725, allocations: 200.8 kB / 458 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.7251, allocations: 15.98 kB / 458 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/0.7303, allocations: 2.814 MB / 460.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7304, allocations: 0 / 460.8 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/0.7358, allocations: 1.837 MB / 462.7 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/0.7366, allocations: 267.8 kB / 462.9 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.7368, allocations: 27.94 kB / 462.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.7379, allocations: 99.91 kB / 463 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005247/0.7384, allocations: 140.8 kB / 463.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/0.7386, allocations: 27.98 kB / 463.2 MB, free: 4.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001325/0.7399, allocations: 0.5771 MB / 463.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.7399, allocations: 0 / 463.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002919/0.7429, allocations: 0.5878 MB / 464.4 MB, free: 3.684 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00625/0.7491, allocations: 2.462 MB / 466.8 MB, free: 1.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0063/0.7555, allocations: 2.068 MB / 468.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.7556, allocations: 8.625 kB / 468.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.7578, allocations: 0.719 MB / 469.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.7596, allocations: 187.8 kB / 469.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.7714, allocations: 7.957 MB / 477.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.773, allocations: 1.386 MB / 479.2 MB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.7742, allocations: 459.3 kB / 479.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7742, allocations: 7.875 kB / 479.6 MB, free: 4.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.158/3.932, allocations: 27.92 MB / 0.4956 GB, free: 8.27 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat