Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 194.9 MB / 211.1 MB, free: 7.496 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003534, allocations: 12 kB / 264.1 MB, free: 2.426 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004821/0.2966, allocations: 2.902 MB / 311.5 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.2988, allocations: 0.9518 MB / 312.4 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.2991, allocations: 11.94 kB / 312.4 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2992, allocations: 55.58 kB / 312.5 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.2997, allocations: 183.5 kB / 312.7 MB, free: 8.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.3005, allocations: 151.7 kB / 312.8 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006839/0.3012, allocations: 407.4 kB / 313.2 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.3015, allocations: 119.3 kB / 313.3 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.3018, allocations: 187.3 kB / 313.5 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.3022, allocations: 203.1 kB / 313.7 MB, free: 7.469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.3023, allocations: 24 kB / 313.7 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.3025, allocations: 59.95 kB / 313.8 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3026, allocations: 79.67 kB / 313.9 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.3028, allocations: 113.5 kB / 314 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.3034, allocations: 411.8 kB / 314.4 MB, free: 6.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3035, allocations: 0 / 314.4 MB, free: 6.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3035, allocations: 4 kB / 314.4 MB, free: 6.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3035, allocations: 0 / 314.4 MB, free: 6.785 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001782/0.3053, allocations: 0.7673 MB / 315.1 MB, free: 5.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3053, allocations: 8.031 kB / 315.2 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.3055, allocations: 82.47 kB / 315.2 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.3056, allocations: 55.34 kB / 315.3 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.3062, allocations: 322 kB / 315.6 MB, free: 5.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.3062, allocations: 33 kB / 315.6 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3064, allocations: 36 kB / 315.7 MB, free: 5.379 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3074, allocations: 412.8 kB / 316.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.3075, allocations: 3.938 kB / 316.1 MB, free: 4.953 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.3075, allocations: 16 kB / 316.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3076, allocations: 11.94 kB / 316.1 MB, free: 4.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009859/0.3086, allocations: 311.8 kB / 316.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.3121, allocations: 1.633 MB / 318 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/0.313, allocations: 323 kB / 318.4 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.313, allocations: 8.281 kB / 318.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006802/0.3137, allocations: 277.5 kB / 318.6 MB, free: 2.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 3.086e-06/0.3137, allocations: 0 / 318.6 MB, free: 2.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.003501/0.3172, allocations: 1.12 MB / 319.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.3174, allocations: 213.6 kB / 320 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.3179, allocations: 325.7 kB / 320.3 MB, free: 440 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.318, allocations: 37.7 kB / 320.3 MB, free: 396 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3182, allocations: 216.4 kB / 320.5 MB, free: 176 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.3184, allocations: 114.4 kB / 320.6 MB, free: 60 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.3184, allocations: 15.94 kB / 320.7 MB, free: 44 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3186, allocations: 350.8 kB / 321 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.319, allocations: 112.8 kB / 321.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.3195, allocations: 186.7 kB / 321.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.32, allocations: 180.1 kB / 321.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.32, allocations: 0 / 321.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001338/0.3213, allocations: 0.521 MB / 322 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/0.3214, allocations: 55.47 kB / 322 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3214, allocations: 4 kB / 322 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000812/0.3223, allocations: 159.3 kB / 322.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.3226, allocations: 31.92 kB / 322.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006969/0.3296, allocations: 5.994 MB / 328.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.3302, allocations: 51.61 kB / 328.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.3303, allocations: 16 kB / 328.3 MB, free: 7.766 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003446/0.3307, allocations: 208 kB / 328.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.3308, allocations: 35.62 kB / 328.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.3309, allocations: 52.03 kB / 328.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3309, allocations: 4 kB / 328.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3309, allocations: 0 / 328.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.331, allocations: 0 / 328.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/0.3317, allocations: 453 kB / 329 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3317, allocations: 0 / 329 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.3319, allocations: 28.11 kB / 329.1 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000729/0.3326, allocations: 159.3 kB / 329.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.3327, allocations: 8 kB / 329.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006742/0.3395, allocations: 5.824 MB / 335 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3395, allocations: 4.031 kB / 335 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.3411, allocations: 0.5291 MB / 335.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.3413, allocations: 152.5 kB / 335.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.3414, allocations: 11.95 kB / 335.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.3419, allocations: 35.92 kB / 335.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.3422, allocations: 55.91 kB / 335.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.3422, allocations: 12 kB / 335.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000364/0.3426, allocations: 235.2 kB / 336.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3426, allocations: 0 / 336.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009987/0.3436, allocations: 167.7 kB / 336.2 MB, free: 15.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulsStart) * Number of discrete states: 6 (booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor1.off,IdealThyristor2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001977/0.3456, allocations: 1.105 MB / 337.3 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.3474, allocations: 0.9195 MB / 338.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3474, allocations: 3.984 kB / 338.3 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3486, allocations: 0.71 MB / 339 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.3492, allocations: 80.14 kB / 339 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005914/0.3551, allocations: 2.319 MB / 341.4 MB, free: 9.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.3557, allocations: 0.8278 MB / 342.2 MB, free: 8.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.356, allocations: 31.27 kB / 342.2 MB, free: 8.887 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.3562, allocations: 127.4 kB / 342.3 MB, free: 8.766 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3562, allocations: 0 / 342.3 MB, free: 8.766 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0618/0.4181, allocations: 10.31 MB / 352.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003984/0.4185, allocations: 217.4 kB / 352.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.225, allocations: 0 / 352.9 MB, free: 14.25 MB / 298.7 MB "" Variables in the reference:time,IdealThyristor1.off,IdealThyristor2.off,booleanStep1.y Variables in the result:Ground1.p.i,Ground1.p.v,IdealGTOThyristor1.Goff,IdealGTOThyristor1.LossPower,IdealGTOThyristor1.Ron,IdealGTOThyristor1.T,IdealGTOThyristor1.T_heatPort,IdealGTOThyristor1.Vknee,IdealGTOThyristor1.fire,IdealGTOThyristor1.i,IdealGTOThyristor1.n.i,IdealGTOThyristor1.n.v,IdealGTOThyristor1.off,IdealGTOThyristor1.p.i,IdealGTOThyristor1.p.v,IdealGTOThyristor1.s,IdealGTOThyristor1.useHeatPort,IdealGTOThyristor1.v,IdealGTOThyristor2.Goff,IdealGTOThyristor2.LossPower,IdealGTOThyristor2.Ron,IdealGTOThyristor2.T,IdealGTOThyristor2.T_heatPort,IdealGTOThyristor2.Vknee,IdealGTOThyristor2.fire,IdealGTOThyristor2.i,IdealGTOThyristor2.n.i,IdealGTOThyristor2.n.v,IdealGTOThyristor2.off,IdealGTOThyristor2.p.i,IdealGTOThyristor2.p.v,IdealGTOThyristor2.s,IdealGTOThyristor2.useHeatPort,IdealGTOThyristor2.v,IdealThyristor1.Goff,IdealThyristor1.LossPower,IdealThyristor1.Ron,IdealThyristor1.T,IdealThyristor1.T_heatPort,IdealThyristor1.Vknee,IdealThyristor1.fire,IdealThyristor1.i,IdealThyristor1.n.i,IdealThyristor1.n.v,IdealThyristor1.off,IdealThyristor1.p.i,IdealThyristor1.p.v,IdealThyristor1.s,IdealThyristor1.useHeatPort,IdealThyristor1.v,IdealThyristor2.Goff,IdealThyristor2.LossPower,IdealThyristor2.Ron,IdealThyristor2.T,IdealThyristor2.T_heatPort,IdealThyristor2.Vknee,IdealThyristor2.fire,IdealThyristor2.i,IdealThyristor2.n.i,IdealThyristor2.n.v,IdealThyristor2.off,IdealThyristor2.p.i,IdealThyristor2.p.v,IdealThyristor2.s,IdealThyristor2.useHeatPort,IdealThyristor2.v,R1.LossPower,R1.R,R1.R_actual,R1.T,R1.T_heatPort,R1.T_ref,R1.alpha,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.useHeatPort,R1.v,R2.LossPower,R2.R,R2.R_actual,R2.T,R2.T_heatPort,R2.T_ref,R2.alpha,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.useHeatPort,R2.v,R3.LossPower,R3.R,R3.R_actual,R3.T,R3.T_heatPort,R3.T_ref,R3.alpha,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.useHeatPort,R3.v,R4.LossPower,R4.R,R4.R_actual,R4.T,R4.T_heatPort,R4.T_ref,R4.alpha,R4.i,R4.n.i,R4.n.v,R4.p.i,R4.p.v,R4.useHeatPort,R4.v,SineVoltage1.V,SineVoltage1.freqHz,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.freqHz,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,booleanPulse.Twidth,booleanPulse.period,booleanPulse.pulsStart,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,booleanStep1.index,booleanStep1.n,booleanStep1.nextTime,booleanStep1.startValue,booleanStep1.table[1],booleanStep1.table[2],booleanStep1.table[3],booleanStep1.table[4],booleanStep1.table[5],booleanStep1.table[6],booleanStep1.y,time