Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006389, allocations: 16 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.105, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.472, allocations: 78.66 MB / 387.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4723, allocations: 92.38 kB / 387.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07366/0.546, allocations: 20.94 MB / 408.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.132e-06/0.546, allocations: 3.938 kB / 408.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001106/0.5461, allocations: 35.25 kB / 408.2 MB, free: 14.49 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003767/0.5499, allocations: 1.536 MB / 409.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.55, allocations: 15.11 kB / 409.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.5505, allocations: 155.9 kB / 409.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.5528, allocations: 0.947 MB / 410.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.5529, allocations: 84.53 kB / 410.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.5532, allocations: 105.5 kB / 411 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.5569, allocations: 1.527 MB / 412.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/0.557, allocations: 0 / 412.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.5572, allocations: 47.33 kB / 412.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/0.5572, allocations: 44.53 kB / 412.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003491/0.5607, allocations: 1.375 MB / 414 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009604/0.5704, allocations: 4.981 MB / 419 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.5725, allocations: 1.446 MB / 420.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.225e-05/0.5726, allocations: 12.22 kB / 420.5 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.5739, allocations: 0.6151 MB / 421.1 MB, free: 8.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.562e-06/0.5739, allocations: 4 kB / 421.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.00743/0.5814, allocations: 2.462 MB / 423.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.5815, allocations: 89.5 kB / 423.6 MB, free: 7.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.583, allocations: 0.8301 MB / 424.5 MB, free: 7.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001742/0.5832, allocations: 40.2 kB / 424.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.5836, allocations: 0.5236 MB / 425 MB, free: 7.152 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.5839, allocations: 234.2 kB / 425.2 MB, free: 6.988 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.5839, allocations: 14.38 kB / 425.3 MB, free: 6.988 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.584, allocations: 340.8 kB / 425.6 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009286/0.585, allocations: 415.7 kB / 426 MB, free: 6.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009786/0.586, allocations: 0.5551 MB / 426.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.587, allocations: 448.8 kB / 427 MB, free: 6.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.391e-06/0.587, allocations: 7.625 kB / 427 MB, free: 6.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0027/0.5897, allocations: 1.226 MB / 428.2 MB, free: 6.004 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.5898, allocations: 11.53 kB / 428.2 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.5898, allocations: 3.875 kB / 428.2 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.591, allocations: 401.3 kB / 428.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.5917, allocations: 116.7 kB / 428.7 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006838/0.5985, allocations: 4.248 MB / 433 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.5995, allocations: 85.98 kB / 433.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.5996, allocations: 27.25 kB / 433.1 MB, free: 3.562 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0009841/0.6006, allocations: 490.2 kB / 433.6 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.6009, allocations: 97.09 kB / 433.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.6012, allocations: 119.3 kB / 433.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.551e-06/0.6012, allocations: 11.73 kB / 433.8 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6012, allocations: 3.953 kB / 433.8 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.776e-06/0.6013, allocations: 3.984 kB / 433.8 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005263/0.6065, allocations: 2.59 MB / 436.4 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.811e-06/0.6066, allocations: 4 kB / 436.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.6072, allocations: 84.78 kB / 436.5 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.6085, allocations: 387.6 kB / 436.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.6086, allocations: 19.86 kB / 436.9 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007172/0.6158, allocations: 4.214 MB / 441.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.59e-06/0.6158, allocations: 3.938 kB / 441.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004543/0.6204, allocations: 1.971 MB / 443.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008404/0.6213, allocations: 287.8 kB / 443.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.6216, allocations: 16 kB / 443.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.6222, allocations: 47.95 kB / 443.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.6225, allocations: 80.53 kB / 443.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.6226, allocations: 19.98 kB / 443.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.624, allocations: 0.6629 MB / 444.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.624, allocations: 0 / 444.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001526/0.6255, allocations: 350.8 kB / 444.5 MB, free: 10.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002837/0.6258, allocations: 131.2 kB / 444.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.629, allocations: 1.292 MB / 445.9 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.629, allocations: 4 kB / 446 MB, free: 9.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.631, allocations: 0.8147 MB / 446.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.6324, allocations: 224.4 kB / 447 MB, free: 8.379 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007539/0.64, allocations: 3.077 MB / 450.1 MB, free: 5.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.6417, allocations: 1.381 MB / 451.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.6421, allocations: 63.42 kB / 451.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of SimCode: time 1.65e-06/0.6421, allocations: 0 / 451.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of Templates: time 0.0392/0.6813, allocations: 21.05 MB / 472.6 MB, free: 14.77 MB / 362.7 MB