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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003545, allocations: 8 kB / 264.1 MB, free: 2.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3292, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.5013, allocations: 82.2 MB / 390.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000507/0.5019, allocations: 87.95 kB / 390.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05972/0.5616, allocations: 12.7 MB / 403.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5616, allocations: 0 / 403.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.905e-05/0.5617, allocations: 16 kB / 403.6 MB, free: 13.46 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002511/0.5642, allocations: 0.9313 MB / 404.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5643, allocations: 8.031 kB / 404.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.5646, allocations: 106.4 kB / 404.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.5648, allocations: 79.06 kB / 404.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5659, allocations: 481.9 kB / 405.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/0.566, allocations: 49.3 kB / 405.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.5661, allocations: 68 kB / 405.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.568, allocations: 0.6461 MB / 405.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.5681, allocations: 11.92 kB / 406 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.5682, allocations: 27.95 kB / 406 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.5682, allocations: 16 kB / 406 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.5699, allocations: 0.4892 MB / 406.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005666/0.5756, allocations: 2.333 MB / 408.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.5773, allocations: 486.6 kB / 409.3 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.5773, allocations: 4.469 kB / 409.3 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008557/0.5782, allocations: 311.4 kB / 409.6 MB, free: 7.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.026e-06/0.5782, allocations: 0 / 409.6 MB, free: 7.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.002896/0.5811, allocations: 0.7506 MB / 410.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.698e-05/0.5812, allocations: 115.2 kB / 410.5 MB, free: 6.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/0.5822, allocations: 425 kB / 410.9 MB, free: 5.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.5823, allocations: 45.7 kB / 410.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.5826, allocations: 308.3 kB / 411.2 MB, free: 5.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.5829, allocations: 150 kB / 411.4 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.5829, allocations: 12 kB / 411.4 MB, free: 5.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.5831, allocations: 366.8 kB / 411.7 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.5838, allocations: 177 kB / 411.9 MB, free: 4.777 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.5846, allocations: 335.1 kB / 412.2 MB, free: 4.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.5853, allocations: 204.7 kB / 412.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.5853, allocations: 4 kB / 412.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001886/0.5872, allocations: 0.6015 MB / 413 MB, free: 3.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007987/0.588, allocations: 1.577 MB / 414.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.5881, allocations: 4 kB / 414.6 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/0.5886, allocations: 84.81 kB / 414.7 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.5893, allocations: 95.83 kB / 414.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2667/0.856, allocations: 1.777 MB / 416.6 MB, free: 90.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.8572, allocations: 88.19 kB / 416.7 MB, free: 90.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/0.8574, allocations: 22.22 kB / 416.7 MB, free: 90.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8574, allocations: 3.969 kB / 416.7 MB, free: 90.98 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002353/0.8598, allocations: 0.5045 MB / 417.2 MB, free: 90.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.8598, allocations: 7.125 kB / 417.2 MB, free: 90.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.8603, allocations: 79.84 kB / 417.3 MB, free: 90.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/0.8611, allocations: 86.28 kB / 417.4 MB, free: 90.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.8643, allocations: 1.797 MB / 419.2 MB, free: 89.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/0.8653, allocations: 73.31 kB / 419.2 MB, free: 89.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.8654, allocations: 23.69 kB / 419.3 MB, free: 89.65 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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (61): * Single equations (assignments): 60 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006972/0.8661, allocations: 305 kB / 419.6 MB, free: 89.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.8664, allocations: 52.56 kB / 419.6 MB, free: 89.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.8666, allocations: 61.38 kB / 419.7 MB, free: 89.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.8666, allocations: 5.984 kB / 419.7 MB, free: 89.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8666, allocations: 3.953 kB / 419.7 MB, free: 89.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.8667, allocations: 2.953 kB / 419.7 MB, free: 89.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.8703, allocations: 1.187 MB / 420.9 MB, free: 89.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.8704, allocations: 5.812 kB / 420.9 MB, free: 89.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.8709, allocations: 49 kB / 420.9 MB, free: 89.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/0.8712, allocations: 78.41 kB / 421 MB, free: 89.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.8713, allocations: 5.75 kB / 421 MB, free: 89.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.8735, allocations: 1.795 MB / 422.8 MB, free: 87.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8735, allocations: 8 kB / 422.8 MB, free: 87.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.8754, allocations: 0.7741 MB / 423.6 MB, free: 87.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.8758, allocations: 172.7 kB / 423.7 MB, free: 87.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.876, allocations: 11.72 kB / 423.8 MB, free: 87.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.8766, allocations: 40.73 kB / 423.8 MB, free: 87.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.8768, allocations: 58.38 kB / 423.9 MB, free: 87.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.8768, allocations: 11.84 kB / 423.9 MB, free: 87.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000634/0.8775, allocations: 336.3 kB / 424.2 MB, free: 87.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8775, allocations: 0 / 424.2 MB, free: 87.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001305/0.8788, allocations: 286.6 kB / 424.5 MB, free: 87.43 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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/0.8809, allocations: 1.341 MB / 425.8 MB, free: 86.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.8832, allocations: 0.9966 MB / 426.8 MB, free: 86.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.8832, allocations: 0 / 426.8 MB, free: 86.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.8839, allocations: 363.9 kB / 427.2 MB, free: 86.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.8846, allocations: 78.61 kB / 427.2 MB, free: 86.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.8883, allocations: 4.442 MB / 431.7 MB, free: 82.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.8887, allocations: 0.9267 MB / 432.6 MB, free: 81.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000535/0.8893, allocations: 91.59 kB / 432.7 MB, free: 81.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.8897, allocations: 221.8 kB / 432.9 MB, free: 81.35 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.8897, allocations: 0 / 432.9 MB, free: 81.35 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/0.9471, allocations: 12.11 MB / 445 MB, free: 75.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.9474, allocations: 282.4 kB / 445.3 MB, free: 75.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/4.022, allocations: 0 / 445.3 MB, free: 75.01 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat