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.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_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 8 kB / 264.1 MB, free: 13.45 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08986, allocations: 44.5 MB / 308.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.503, allocations: 83.12 MB / 391.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5034, allocations: 90.7 kB / 391.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05442/0.5578, allocations: 13.94 MB / 405.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5579, allocations: 0 / 405.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.394e-05/0.5579, allocations: 19.22 kB / 405.7 MB, free: 11.26 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002821/0.5608, allocations: 1.002 MB / 406.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5608, allocations: 7.75 kB / 406.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003344/0.5612, allocations: 112 kB / 406.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.5614, allocations: 101.1 kB / 406.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.5626, allocations: 0.5005 MB / 407.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.5627, allocations: 50.97 kB / 407.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.5629, allocations: 75.36 kB / 407.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.5649, allocations: 0.7531 MB / 408.3 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.565, allocations: 7.781 kB / 408.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.5651, allocations: 28.39 kB / 408.3 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.5651, allocations: 27.17 kB / 408.4 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.5671, allocations: 0.5901 MB / 409 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/0.5729, allocations: 2.672 MB / 411.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.5751, allocations: 0.694 MB / 412.3 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.5753, allocations: 11.72 kB / 412.3 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.5763, allocations: 401.9 kB / 412.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 4.188e-06/0.5763, allocations: 3.906 kB / 412.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.004079/0.5804, allocations: 1.126 MB / 413.9 MB, free: 7.477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.5805, allocations: 113.6 kB / 414 MB, free: 7.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.5813, allocations: 422.4 kB / 414.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.5814, allocations: 46.45 kB / 414.4 MB, free: 7.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.5817, allocations: 356.6 kB / 414.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.5819, allocations: 188.1 kB / 415 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.582, allocations: 13.22 kB / 415 MB, free: 6.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.5821, allocations: 332.2 kB / 415.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007547/0.5828, allocations: 236.2 kB / 415.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008182/0.5837, allocations: 398.7 kB / 415.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.5844, allocations: 241.1 kB / 416.2 MB, free: 6.168 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.5845, allocations: 4 kB / 416.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002154/0.5866, allocations: 0.7209 MB / 416.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.587, allocations: 1.57 MB / 418.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.587, allocations: 3.875 kB / 418.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007215/0.5877, allocations: 154.5 kB / 418.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.5886, allocations: 108.3 kB / 418.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004379/0.593, allocations: 3.48 MB / 422.2 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/0.594, allocations: 84.97 kB / 422.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.5941, allocations: 27.39 kB / 422.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5941, allocations: 3.875 kB / 422.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001924/0.596, allocations: 0.6467 MB / 423 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5961, allocations: 4.25 kB / 423 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.5967, allocations: 148.8 kB / 423.1 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.5974, allocations: 100.7 kB / 423.2 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.602, allocations: 3.468 MB / 426.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.6027, allocations: 73.19 kB / 426.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.6028, allocations: 22.78 kB / 426.8 MB, free: 14.34 MB / 330.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.0007129/0.6035, allocations: 319.5 kB / 427.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.6038, allocations: 61.8 kB / 427.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.604, allocations: 74.58 kB / 427.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.604, allocations: 3.75 kB / 427.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.604, allocations: 4 kB / 427.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.6041, allocations: 3.984 kB / 427.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.6079, allocations: 1.472 MB / 428.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.608, allocations: 256 / 428.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.6086, allocations: 81.73 kB / 428.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000728/0.6094, allocations: 135.8 kB / 428.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.6096, allocations: 18.52 kB / 428.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/0.6143, allocations: 3.306 MB / 432.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.6144, allocations: 3.984 kB / 432.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.6174, allocations: 1.043 MB / 433.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.6179, allocations: 194.2 kB / 433.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.6181, allocations: 12.62 kB / 433.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/0.6188, allocations: 57.02 kB / 433.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/0.6191, allocations: 79.69 kB / 433.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.6192, allocations: 18.61 kB / 433.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005624/0.6197, allocations: 315.8 kB / 433.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6198, allocations: 3.875 kB / 433.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001686/0.6215, allocations: 344 kB / 434.3 MB, free: 10.04 MB / 330.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.003466/0.625, allocations: 1.636 MB / 435.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003637/0.6287, allocations: 1.472 MB / 437.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.6287, allocations: 0 / 437.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.6301, allocations: 0.578 MB / 438 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.6311, allocations: 103.2 kB / 438.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/0.6378, allocations: 4.735 MB / 442.8 MB, free: 4.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.6386, allocations: 0.9599 MB / 443.8 MB, free: 3.363 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005436/0.6392, allocations: 240.3 kB / 444 MB, free: 3.332 MB / 330.7 MB Notification: Performance of SimCode: time 3.527e-06/0.6392, allocations: 0 / 444 MB, free: 3.332 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.168/3.807, allocations: 16.56 MB / 460.6 MB, free: 5.316 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat