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.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_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1327, allocations: 44.5 MB / 308.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.5991, allocations: 85.4 MB / 394 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004116/0.5995, allocations: 94.2 kB / 394 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1121/0.7117, allocations: 28.45 MB / 422.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7118, allocations: 0 / 422.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001229/0.7119, allocations: 34.75 kB / 422.5 MB, free: 5.145 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004736/0.7166, allocations: 1.672 MB / 424.2 MB, free: 4.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.7167, allocations: 12.34 kB / 424.2 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005497/0.7173, allocations: 199.4 kB / 424.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.7177, allocations: 161.8 kB / 424.6 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/0.7233, allocations: 1.646 MB / 426.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.7235, allocations: 109.1 kB / 426.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/0.724, allocations: 129.1 kB / 426.4 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004484/0.7285, allocations: 1.727 MB / 428.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/0.7286, allocations: 7.812 kB / 428.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.7288, allocations: 57.98 kB / 428.2 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.14e-05/0.7289, allocations: 55.95 kB / 428.3 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.7326, allocations: 1.421 MB / 429.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.7438, allocations: 4.996 MB / 434.7 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.7467, allocations: 1.082 MB / 435.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.7468, allocations: 12.02 kB / 435.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/0.7484, allocations: 0.6205 MB / 436.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 3.397e-06/0.7484, allocations: 0 / 436.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=82): time 0.005642/0.754, allocations: 1.671 MB / 438.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.7542, allocations: 122.8 kB / 438.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.7561, allocations: 0.7999 MB / 439 MB, free: 13.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.7563, allocations: 53.75 kB / 439.1 MB, free: 13.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007052/0.7571, allocations: 0.5945 MB / 439.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.7574, allocations: 237.4 kB / 439.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.7575, allocations: 20.56 kB / 439.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7577, allocations: 353.7 kB / 440.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.759, allocations: 445.3 kB / 440.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.7605, allocations: 0.6791 MB / 441.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.7619, allocations: 478.8 kB / 441.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.7619, allocations: 0 / 441.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003386/0.7653, allocations: 1.256 MB / 443.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001007/0.7663, allocations: 2.437 MB / 445.5 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.7664, allocations: 8 kB / 445.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009385/0.7673, allocations: 224.6 kB / 445.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.7685, allocations: 151.7 kB / 445.9 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005223/0.7737, allocations: 2.838 MB / 448.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.7753, allocations: 151.2 kB / 448.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.7754, allocations: 36 kB / 448.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7754, allocations: 4.625 kB / 448.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003172/0.7786, allocations: 1.172 MB / 450.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.7786, allocations: 4 kB / 450.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/0.7794, allocations: 216.7 kB / 450.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.7804, allocations: 143.7 kB / 450.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005128/0.7855, allocations: 2.846 MB / 453.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.7867, allocations: 135.3 kB / 453.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.7868, allocations: 36 kB / 453.5 MB, free: 14.62 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.001547/0.7884, allocations: 0.6062 MB / 454.1 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.7887, allocations: 90.88 kB / 454.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.7891, allocations: 121.3 kB / 454.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.7891, allocations: 11.94 kB / 454.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7891, allocations: 4 kB / 454.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.7891, allocations: 3.984 kB / 454.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/0.7952, allocations: 2.482 MB / 456.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.7953, allocations: 0 / 456.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.796, allocations: 79.83 kB / 456.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/0.7968, allocations: 200.7 kB / 457.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/0.7969, allocations: 19.94 kB / 457.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/0.8018, allocations: 2.803 MB / 459.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8019, allocations: 4.031 kB / 459.9 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.8065, allocations: 1.703 MB / 461.6 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.8072, allocations: 267.8 kB / 461.9 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.8074, allocations: 27.98 kB / 461.9 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.8084, allocations: 87.91 kB / 462 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005029/0.8089, allocations: 144.4 kB / 462.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/0.809, allocations: 23.98 kB / 462.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001361/0.8104, allocations: 0.6083 MB / 462.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8104, allocations: 0 / 462.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002227/0.8126, allocations: 0.5876 MB / 463.3 MB, free: 4.531 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.004965/0.8176, allocations: 2.318 MB / 465.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005081/0.8227, allocations: 1.973 MB / 467.6 MB, free: 188 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/0.8228, allocations: 8.188 kB / 467.6 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.8244, allocations: 0.6743 MB / 468.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.8259, allocations: 179.8 kB / 468.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009859/0.8358, allocations: 7.915 MB / 476.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.8373, allocations: 1.382 MB / 477.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.8385, allocations: 459.3 kB / 478.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8385, allocations: 0 / 478.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.001/3.84, allocations: 27.76 MB / 0.4941 GB, free: 9.602 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_res.mat does not exist to compare? outputFormat=mat