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.ThyristorBridge2mPulse_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003444, allocations: 12 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09813, allocations: 44.5 MB / 308.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4912/0.5894, allocations: 87.98 MB / 396.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5898, allocations: 89.08 kB / 396.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/0.7215, allocations: 36.52 MB / 433.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.7216, allocations: 0 / 433.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001546/0.7218, allocations: 50.53 kB / 433.2 MB, free: 1.633 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.006277/0.7281, allocations: 2.184 MB / 435.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.7281, allocations: 16.03 kB / 435.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006455/0.7288, allocations: 263 kB / 435.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005732/0.7294, allocations: 241.2 kB / 435.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007422/0.7368, allocations: 2.074 MB / 438 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.737, allocations: 140.8 kB / 438.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.7374, allocations: 174 kB / 438.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/0.7437, allocations: 2.44 MB / 440.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-05/0.7437, allocations: 7.594 kB / 440.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.744, allocations: 79.62 kB / 440.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.7442, allocations: 71.05 kB / 440.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005849/0.75, allocations: 2.037 MB / 442.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.7676, allocations: 6.866 MB / 449.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/0.7723, allocations: 1.698 MB / 451.5 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/0.7724, allocations: 17 kB / 451.5 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/0.7749, allocations: 0.9384 MB / 452.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 4.288e-06/0.7749, allocations: 0 / 452.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.01519/0.7901, allocations: 3.499 MB / 455.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.7903, allocations: 157.5 kB / 456.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.7927, allocations: 1.03 MB / 457.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.793, allocations: 81.67 kB / 457.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/0.7939, allocations: 0.7395 MB / 457.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005405/0.7945, allocations: 382.2 kB / 458.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.7946, allocations: 31.94 kB / 458.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.7948, allocations: 366.7 kB / 458.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.7969, allocations: 0.7066 MB / 459.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.7992, allocations: 0.9798 MB / 460.4 MB, free: 9.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.8014, allocations: 0.748 MB / 461.1 MB, free: 8.387 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.8014, allocations: 4 kB / 461.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.005393/0.8068, allocations: 1.978 MB / 463.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.808, allocations: 2.442 MB / 465.5 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.808, allocations: 8 kB / 465.5 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.81, allocations: 0.4987 MB / 466 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.8114, allocations: 183.7 kB / 466.2 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.8233, allocations: 5.396 MB / 471.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.8252, allocations: 183.1 kB / 471.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.8254, allocations: 51.98 kB / 471.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.8254, allocations: 4 kB / 471.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005184/0.8306, allocations: 1.894 MB / 473.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.8307, allocations: 8 kB / 473.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.8324, allocations: 0.4933 MB / 474.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.8338, allocations: 171.7 kB / 474.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.8456, allocations: 5.462 MB / 479.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.8471, allocations: 163.3 kB / 480 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.8474, allocations: 44 kB / 480.1 MB, free: 4.938 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: 69 ($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,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[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 (138): * Single equations (assignments): 137 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.002348/0.8497, allocations: 0.7979 MB / 480.9 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.8503, allocations: 130.4 kB / 481 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/0.8509, allocations: 173.3 kB / 481.2 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.8509, allocations: 12 kB / 481.2 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.851, allocations: 4 kB / 481.2 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.851, allocations: 7.984 kB / 481.2 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.8612, allocations: 3.695 MB / 484.9 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.8613, allocations: 0 / 484.9 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.8623, allocations: 111.8 kB / 485 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/0.8643, allocations: 472.7 kB / 485.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003086/0.8646, allocations: 27.98 kB / 485.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.8771, allocations: 5.35 MB / 490.8 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.8771, allocations: 3.953 kB / 490.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008096/0.8852, allocations: 2.791 MB / 493.6 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.8865, allocations: 363.2 kB / 494 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/0.8869, allocations: 47.97 kB / 494 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.8884, allocations: 115.9 kB / 494.2 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008732/0.8893, allocations: 232.6 kB / 494.4 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.8894, allocations: 39.94 kB / 494.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001939/0.8914, allocations: 0.7838 MB / 495.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.8914, allocations: 4 kB / 495.2 MB, free: 5.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003921/0.8954, allocations: 0.8644 MB / 496.1 MB, free: 4.707 MB / 378.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: 48 (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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.008829/0.9042, allocations: 3.451 MB / 499.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009859/0.9142, allocations: 3.198 MB / 0.4909 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.9142, allocations: 2 kB / 0.4909 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.9176, allocations: 1.131 MB / 0.492 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.92, allocations: 314.2 kB / 0.4923 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.9356, allocations: 9.421 MB / 0.5015 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/0.9377, allocations: 1.699 MB / 0.5032 GB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/0.9393, allocations: 0.6281 MB / 0.5038 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9393, allocations: 0 / 0.5038 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.813/4.753, allocations: 39.91 MB / 0.5428 GB, free: 117.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.ThyristorBridge2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat