Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.0009497, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009472/0.0009473, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3279, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003275/0.3312, allocations: 2.19 MB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3328, allocations: 0.7148 MB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.333, allocations: 3.25 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.462e-05/0.3331, allocations: 30.08 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.3334, allocations: 96 kB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3338, allocations: 79.02 kB / 329.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.3342, allocations: 237.3 kB / 329.8 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.3345, allocations: 65.22 kB / 329.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.3348, allocations: 126.9 kB / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.335, allocations: 148 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.855e-05/0.3351, allocations: 17.56 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.457e-05/0.3351, allocations: 17.25 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.3353, allocations: 49.78 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3354, allocations: 74.42 kB / 330.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.3358, allocations: 262.1 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3358, allocations: 3.938 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3358, allocations: 1.031 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3358, allocations: 0 / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001668/0.3375, allocations: 0.6592 MB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3376, allocations: 9.281 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.287e-05/0.3377, allocations: 30.38 kB / 331.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.338, allocations: 258.8 kB / 331.5 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.3381, allocations: 21.17 kB / 331.5 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.3382, allocations: 16.78 kB / 331.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.3391, allocations: 327.4 kB / 331.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3391, allocations: 0 / 331.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.3391, allocations: 10.19 kB / 331.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3392, allocations: 5 kB / 331.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3403, allocations: 337.8 kB / 332.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.3423, allocations: 1.009 MB / 333.2 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.3455, allocations: 0.6042 MB / 333.8 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.3455, allocations: 4 kB / 333.8 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000704/0.3463, allocations: 251 kB / 334 MB, free: 11.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.3463, allocations: 7.938 kB / 334.1 MB, free: 11.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001777/0.3481, allocations: 0.5182 MB / 334.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.3482, allocations: 89.05 kB / 334.7 MB, free: 11.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.3485, allocations: 229 kB / 334.9 MB, free: 10.83 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.3486, allocations: 33.7 kB / 334.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3488, allocations: 160.2 kB / 335.1 MB, free: 10.63 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.3489, allocations: 67.02 kB / 335.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.3489, allocations: 4 kB / 335.1 MB, free: 10.56 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3491, allocations: 334.8 kB / 335.5 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/0.3498, allocations: 164.4 kB / 335.6 MB, free: 10.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.3504, allocations: 195.4 kB / 335.8 MB, free: 9.867 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.351, allocations: 190.6 kB / 336 MB, free: 9.676 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.351, allocations: 0 / 336 MB, free: 9.676 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001185/0.3522, allocations: 451.8 kB / 336.4 MB, free: 9.223 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.3522, allocations: 29.7 kB / 336.5 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3523, allocations: 7.984 kB / 336.5 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.3523, allocations: 7.953 kB / 336.5 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.3542, allocations: 311.6 kB / 336.8 MB, free: 8.867 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005298/0.3595, allocations: 3.248 MB / 340 MB, free: 5.352 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.36, allocations: 63.86 kB / 340.1 MB, free: 5.289 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.3601, allocations: 15.92 kB / 340.1 MB, free: 5.273 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.3603, allocations: 141.7 kB / 340.3 MB, free: 5.125 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.3603, allocations: 23.72 kB / 340.3 MB, free: 5.102 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.3604, allocations: 30.17 kB / 340.3 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3604, allocations: 0 / 340.3 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3604, allocations: 0 / 340.3 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3604, allocations: 0 / 340.3 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.3609, allocations: 349.2 kB / 340.7 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3609, allocations: 8 kB / 340.7 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.3627, allocations: 307.6 kB / 341 MB, free: 4.375 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3627, allocations: 4 kB / 341 MB, free: 4.371 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.3627, allocations: 7.984 kB / 341 MB, free: 4.363 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/0.3676, allocations: 3.255 MB / 344.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3677, allocations: 0 / 344.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.3695, allocations: 0.5988 MB / 344.8 MB, free: 236 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.3698, allocations: 96.8 kB / 344.9 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.3698, allocations: 8 kB / 344.9 MB, free: 112 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.3702, allocations: 52.02 kB / 345 MB, free: 60 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.3704, allocations: 31.89 kB / 345 MB, free: 28 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.3704, allocations: 7.984 kB / 345 MB, free: 20 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.3707, allocations: 164.5 kB / 345.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3707, allocations: 0 / 345.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006289/0.3714, allocations: 95.77 kB / 345.3 MB, free: 15.77 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002517/0.3716, allocations: 115.2 kB / 345.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.3743, allocations: 0.6434 MB / 346 MB, free: 14.99 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3743, allocations: 4.062 kB / 346 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.3763, allocations: 427.6 kB / 346.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.3767, allocations: 32.33 kB / 346.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3788, allocations: 0.7677 MB / 347.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.3794, allocations: 0.7521 MB / 348 MB, free: 12.96 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.3796, allocations: 29.94 kB / 348 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.3797, allocations: 23.38 kB / 348.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of SimCode: time 2.234e-06/0.3797, allocations: 0 / 348.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of Templates: time 0.008612/0.3883, allocations: 3.183 MB / 351.2 MB, free: 9.727 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) Environment - environmentSimulation: