Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.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,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 12 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3071, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.4794, allocations: 85.41 MB / 394 MB, free: 7.141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004317/0.4799, allocations: 91.94 kB / 394.1 MB, free: 7.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.401/0.8809, allocations: 28.43 MB / 422.5 MB, free: 84.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.881, allocations: 0 / 422.5 MB, free: 84.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001293/0.8811, allocations: 34.98 kB / 422.5 MB, free: 84.93 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.005393/0.8865, allocations: 1.666 MB / 424.2 MB, free: 84.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8866, allocations: 18.12 kB / 424.2 MB, free: 84.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000648/0.8872, allocations: 202.9 kB / 424.4 MB, free: 84.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.8877, allocations: 161.8 kB / 424.6 MB, free: 83.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005925/0.8936, allocations: 1.648 MB / 426.2 MB, free: 83.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.8938, allocations: 104.2 kB / 426.3 MB, free: 83.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004788/0.8943, allocations: 134.6 kB / 426.5 MB, free: 83.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004463/0.8988, allocations: 1.737 MB / 428.2 MB, free: 83.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.8989, allocations: 0 / 428.2 MB, free: 83.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.8991, allocations: 50.91 kB / 428.3 MB, free: 83.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.047e-05/0.8992, allocations: 58.83 kB / 428.3 MB, free: 83.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/0.9029, allocations: 1.422 MB / 429.7 MB, free: 83.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.9144, allocations: 4.995 MB / 434.7 MB, free: 81.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.9174, allocations: 1.088 MB / 435.8 MB, free: 80.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.9175, allocations: 8.156 kB / 435.8 MB, free: 80.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.9188, allocations: 0.6204 MB / 436.4 MB, free: 80.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.817e-06/0.9189, allocations: 0 / 436.4 MB, free: 80.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=82): time 0.005046/0.9239, allocations: 1.669 MB / 438.1 MB, free: 80.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.924, allocations: 125.6 kB / 438.2 MB, free: 79.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.9256, allocations: 0.7997 MB / 439 MB, free: 79.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.9258, allocations: 60.61 kB / 439.1 MB, free: 79.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/0.9264, allocations: 0.5856 MB / 439.7 MB, free: 79.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.9266, allocations: 237.8 kB / 439.9 MB, free: 78.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.9267, allocations: 23.09 kB / 439.9 MB, free: 78.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.9268, allocations: 343.3 kB / 440.3 MB, free: 78.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.928, allocations: 455.6 kB / 440.7 MB, free: 78.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.9293, allocations: 0.6713 MB / 441.4 MB, free: 77.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.9305, allocations: 478.5 kB / 441.9 MB, free: 77.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.9305, allocations: 0 / 441.9 MB, free: 77.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003103/0.9336, allocations: 1.307 MB / 443.2 MB, free: 76.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004818/0.9341, allocations: 2.451 MB / 445.6 MB, free: 74.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.9341, allocations: 8 kB / 445.6 MB, free: 74.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007924/0.9349, allocations: 219.6 kB / 445.8 MB, free: 74.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.936, allocations: 146.1 kB / 446 MB, free: 74.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.9403, allocations: 2.823 MB / 448.8 MB, free: 71.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.9418, allocations: 166.1 kB / 449 MB, free: 71.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.9419, allocations: 39.42 kB / 449 MB, free: 71.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.942, allocations: 0 / 449 MB, free: 71.22 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00268/0.9447, allocations: 1.169 MB / 450.2 MB, free: 70.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.9447, allocations: 8.609 kB / 450.2 MB, free: 70.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007004/0.9454, allocations: 222.7 kB / 450.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/0.9464, allocations: 142.6 kB / 450.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007093/0.9535, allocations: 2.827 MB / 453.4 MB, free: 67.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.9556, allocations: 126.3 kB / 453.5 MB, free: 67.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.9557, allocations: 42.12 kB / 453.5 MB, free: 67.08 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 (107): * Single equations (assignments): 106 * 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.001818/0.9576, allocations: 0.6146 MB / 454.1 MB, free: 66.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.958, allocations: 90.88 kB / 454.2 MB, free: 66.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.9585, allocations: 119 kB / 454.3 MB, free: 66.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.9585, allocations: 8 kB / 454.4 MB, free: 66.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.9585, allocations: 0 / 454.4 MB, free: 66.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.9585, allocations: 3.844 kB / 454.4 MB, free: 66.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008425/0.967, allocations: 2.472 MB / 456.8 MB, free: 64.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.967, allocations: 0 / 456.8 MB, free: 64.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.9682, allocations: 86.12 kB / 456.9 MB, free: 64.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007221/0.9689, allocations: 207.3 kB / 457.1 MB, free: 64.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.969, allocations: 12 kB / 457.1 MB, free: 64.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/0.9732, allocations: 2.808 MB / 459.9 MB, free: 61.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9732, allocations: 4 kB / 459.9 MB, free: 61.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.977, allocations: 1.698 MB / 461.6 MB, free: 59.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/0.9777, allocations: 271.8 kB / 461.9 MB, free: 59.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.9779, allocations: 20 kB / 461.9 MB, free: 59.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/0.9789, allocations: 95.91 kB / 462 MB, free: 59.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/0.9793, allocations: 136.4 kB / 462.1 MB, free: 59.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.9794, allocations: 19.98 kB / 462.2 MB, free: 59.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.9806, allocations: 0.6122 MB / 462.8 MB, free: 58.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9806, allocations: 0 / 462.8 MB, free: 58.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002132/0.9828, allocations: 0.5876 MB / 463.4 MB, free: 58.05 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[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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.004246/0.9871, allocations: 2.318 MB / 465.7 MB, free: 55.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0045/0.9916, allocations: 1.996 MB / 467.7 MB, free: 53.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.9917, allocations: 0 / 467.7 MB, free: 53.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.9934, allocations: 0.6698 MB / 468.3 MB, free: 53.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.9959, allocations: 194.1 kB / 468.5 MB, free: 52.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.009, allocations: 7.914 MB / 476.5 MB, free: 44.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/1.011, allocations: 1.404 MB / 477.9 MB, free: 43.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002231/1.013, allocations: 310.4 kB / 478.2 MB, free: 43.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.015, allocations: 451.3 kB / 478.6 MB, free: 42.58 MB / 346.7 MB Notification: Performance of SimCode: time 3.326e-06/1.015, allocations: 0 / 478.6 MB, free: 42.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/1.126, allocations: 25.22 MB / 0.492 GB, free: 17.47 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/1.127, allocations: 269.9 kB / 0.4923 GB, free: 17.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.358/4.484, allocations: 0 / 0.4923 GB, free: 17.11 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat