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.Rectifier1Pulse.Thyristor1Pulse_R_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.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_Rectifier1Pulse_Thyristor1Pulse_R_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 8 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3595, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.5445, allocations: 79.63 MB / 388.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00042/0.5449, allocations: 83.94 kB / 388.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04668/0.5916, allocations: 9.289 MB / 397.6 MB, free: 3.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5917, allocations: 4 kB / 397.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.77e-05/0.5917, allocations: 12 kB / 397.6 MB, free: 3.488 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002093/0.5938, allocations: 0.7427 MB / 398.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5939, allocations: 8.031 kB / 398.4 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.5941, allocations: 86.45 kB / 398.4 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.5943, allocations: 63.3 kB / 398.5 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009199/0.5952, allocations: 371 kB / 398.9 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.5953, allocations: 37 kB / 398.9 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.5955, allocations: 43.98 kB / 398.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.597, allocations: 479 kB / 399.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.5971, allocations: 0 / 399.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.5971, allocations: 16 kB / 399.4 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.5972, allocations: 8 kB / 399.4 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.5986, allocations: 375.7 kB / 399.8 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.603, allocations: 1.576 MB / 401.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.6048, allocations: 411.4 kB / 401.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.847e-05/0.6049, allocations: 4.234 kB / 401.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009149/0.6059, allocations: 281 kB / 402.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.186e-06/0.6059, allocations: 0 / 402.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002543/0.6085, allocations: 0.6168 MB / 402.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.6086, allocations: 110.8 kB / 402.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.6091, allocations: 279.6 kB / 403.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.723e-05/0.6092, allocations: 37.7 kB / 403.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.6095, allocations: 244 kB / 403.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.6096, allocations: 90.8 kB / 403.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.6097, allocations: 8 kB / 403.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.6099, allocations: 346.8 kB / 403.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.6105, allocations: 144.8 kB / 403.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.6118, allocations: 291.9 kB / 404.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.6129, allocations: 159.9 kB / 404.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.6129, allocations: 3.938 kB / 404.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001705/0.6147, allocations: 498 kB / 404.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008172/0.6156, allocations: 1.669 MB / 406.5 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.6156, allocations: 4 kB / 406.5 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.616, allocations: 48.88 kB / 406.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.6166, allocations: 75.89 kB / 406.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.6186, allocations: 1.514 MB / 408.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.6193, allocations: 67.7 kB / 408.2 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.6194, allocations: 20 kB / 408.2 MB, free: 8.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6194, allocations: 4 kB / 408.2 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001293/0.6207, allocations: 404.8 kB / 408.6 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6208, allocations: 4 kB / 408.6 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.621, allocations: 48.78 kB / 408.7 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.6215, allocations: 71.89 kB / 408.8 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.6235, allocations: 1.511 MB / 410.3 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.6242, allocations: 59.78 kB / 410.3 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.6242, allocations: 19.95 kB / 410.3 MB, free: 5.949 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005056/0.6247, allocations: 275.2 kB / 410.6 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.6249, allocations: 31.62 kB / 410.6 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.625, allocations: 47.89 kB / 410.7 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.625, allocations: 4 kB / 410.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.625, allocations: 0 / 410.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.625, allocations: 0 / 410.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.6275, allocations: 0.9167 MB / 411.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6276, allocations: 0 / 411.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.628, allocations: 47.91 kB / 411.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.6282, allocations: 40.84 kB / 411.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.6283, allocations: 7.984 kB / 411.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.6301, allocations: 1.429 MB / 413.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.6301, allocations: 0 / 413.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.6322, allocations: 0.6408 MB / 413.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.6325, allocations: 136.7 kB / 413.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.6326, allocations: 8 kB / 413.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.6332, allocations: 55.91 kB / 414 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.6334, allocations: 27.95 kB / 414 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.6334, allocations: 15.98 kB / 414 MB, free: 2.031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003841/0.6338, allocations: 219 kB / 414.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6338, allocations: 0 / 414.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001251/0.6351, allocations: 199.3 kB / 414.4 MB, free: 1.625 MB / 346.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002558/0.6377, allocations: 1.205 MB / 415.6 MB, free: 396 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.2447/0.8824, allocations: 0.7879 MB / 416.4 MB, free: 94.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.8825, allocations: 1.156 kB / 416.4 MB, free: 94.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.8834, allocations: 299.3 kB / 416.7 MB, free: 94.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.884, allocations: 44.5 kB / 416.7 MB, free: 94.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.8876, allocations: 4.13 MB / 420.9 MB, free: 90.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.8882, allocations: 0.8496 MB / 421.7 MB, free: 90.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005208/0.8887, allocations: 66.42 kB / 421.8 MB, free: 90.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.889, allocations: 136.3 kB / 421.9 MB, free: 90.16 MB / 346.7 MB Notification: Performance of SimCode: time 9.51e-07/0.889, allocations: 0 / 421.9 MB, free: 90.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.9239, allocations: 8.124 MB / 430.1 MB, free: 89.49 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.9242, allocations: 264.2 kB / 430.3 MB, free: 89.13 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/3.841, allocations: 0 / 430.3 MB, free: 89.13 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat does not exist to compare? outputFormat=mat