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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 12 kB / 264.1 MB, free: 3.453 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3099, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.4691, allocations: 83.13 MB / 391.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/0.4695, allocations: 87.95 kB / 391.8 MB, free: 9.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06053/0.5301, allocations: 13.94 MB / 405.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5301, allocations: 4 kB / 405.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.711e-05/0.5302, allocations: 16 kB / 405.7 MB, free: 11.39 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003035/0.5332, allocations: 1.007 MB / 406.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.5333, allocations: 8.031 kB / 406.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003151/0.5336, allocations: 114.5 kB / 406.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.5339, allocations: 94.83 kB / 407 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.5352, allocations: 0.4986 MB / 407.5 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.5354, allocations: 65.98 kB / 407.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.5355, allocations: 68 kB / 407.6 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.5378, allocations: 0.7576 MB / 408.4 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.5379, allocations: 7.906 kB / 408.4 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.538, allocations: 28 kB / 408.4 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.5381, allocations: 19.95 kB / 408.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.5401, allocations: 0.5907 MB / 409 MB, free: 8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006669/0.5468, allocations: 2.678 MB / 411.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.5494, allocations: 0.6873 MB / 412.4 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.35e-05/0.5495, allocations: 8.562 kB / 412.4 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.5507, allocations: 401.8 kB / 412.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 6.382e-06/0.5508, allocations: 3.984 kB / 412.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.004621/0.5554, allocations: 1.124 MB / 413.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.5556, allocations: 119.4 kB / 414 MB, free: 2.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/0.5565, allocations: 409.2 kB / 414.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.5567, allocations: 53.62 kB / 414.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.5571, allocations: 328.2 kB / 414.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.5574, allocations: 193.3 kB / 415 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.5575, allocations: 8 kB / 415 MB, free: 1.781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.5577, allocations: 370.8 kB / 415.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008875/0.5586, allocations: 229.9 kB / 415.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.5597, allocations: 395.5 kB / 416 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.5606, allocations: 246.1 kB / 416.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5606, allocations: 0 / 416.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.2785/0.8391, allocations: 0.7497 MB / 416.9 MB, free: 91.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000363/0.8395, allocations: 1.573 MB / 418.5 MB, free: 89.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.8396, allocations: 3.844 kB / 418.5 MB, free: 89.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008594/0.8404, allocations: 145.7 kB / 418.7 MB, free: 89.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/0.8413, allocations: 106.7 kB / 418.8 MB, free: 89.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.8459, allocations: 3.476 MB / 422.2 MB, free: 87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.8468, allocations: 86.78 kB / 422.3 MB, free: 87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.8469, allocations: 29.08 kB / 422.4 MB, free: 87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.847, allocations: 3.906 kB / 422.4 MB, free: 87 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001869/0.8488, allocations: 0.6508 MB / 423 MB, free: 86.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.8489, allocations: 6.812 kB / 423 MB, free: 86.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.8495, allocations: 144.5 kB / 423.2 MB, free: 86.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.8502, allocations: 104.3 kB / 423.3 MB, free: 86.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.8541, allocations: 3.478 MB / 426.7 MB, free: 84.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/0.855, allocations: 73.84 kB / 426.8 MB, free: 84.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.8551, allocations: 30.31 kB / 426.8 MB, free: 84.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005735/0.8557, allocations: 311.6 kB / 427.1 MB, free: 84.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.8558, allocations: 67.75 kB / 427.2 MB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.856, allocations: 66.28 kB / 427.3 MB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.856, allocations: 7 kB / 427.3 MB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8561, allocations: 3.656 kB / 427.3 MB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.8561, allocations: 7.406 kB / 427.3 MB, free: 84.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.8593, allocations: 1.472 MB / 428.8 MB, free: 83.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.8594, allocations: 0 / 428.8 MB, free: 83.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.86, allocations: 73.22 kB / 428.8 MB, free: 83.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000595/0.8606, allocations: 140.8 kB / 429 MB, free: 83.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.8607, allocations: 11.61 kB / 429 MB, free: 83.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.8645, allocations: 3.322 MB / 432.3 MB, free: 80.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8646, allocations: 0 / 432.3 MB, free: 80.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.8674, allocations: 1.053 MB / 433.4 MB, free: 80.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.8678, allocations: 185 kB / 433.5 MB, free: 80.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.8679, allocations: 15.81 kB / 433.6 MB, free: 80.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.8686, allocations: 53.22 kB / 433.6 MB, free: 80.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.8689, allocations: 77.98 kB / 433.7 MB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.8689, allocations: 18.19 kB / 433.7 MB, free: 80.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004928/0.8694, allocations: 314.7 kB / 434 MB, free: 79.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8695, allocations: 0 / 434 MB, free: 79.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00158/0.871, allocations: 364.7 kB / 434.4 MB, free: 79.85 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: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003039/0.8741, allocations: 1.627 MB / 436 MB, free: 78.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00329/0.8774, allocations: 1.473 MB / 437.5 MB, free: 77.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.8775, allocations: 1.016 kB / 437.5 MB, free: 77.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.8787, allocations: 0.581 MB / 438 MB, free: 77.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.8796, allocations: 91.3 kB / 438.1 MB, free: 77.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/0.8845, allocations: 4.715 MB / 442.9 MB, free: 73.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.885, allocations: 0.9645 MB / 443.8 MB, free: 72.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005878/0.8856, allocations: 87.95 kB / 443.9 MB, free: 72.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.8861, allocations: 241.8 kB / 444.1 MB, free: 72.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.263e-06/0.8861, allocations: 4 kB / 444.1 MB, free: 72.67 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.9359, allocations: 15.47 MB / 459.6 MB, free: 61.3 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003059/0.9363, allocations: 280 kB / 459.9 MB, free: 60.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/4.188, allocations: 3.938 kB / 459.9 MB, free: 60.94 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat