Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001067/0.001067, allocations: 86.75 kB / 16.31 MB, free: 6.453 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.001231/0.001231, allocations: 183.8 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 223.4 MB, free: 5.242 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.000471/0.000471, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3473, allocations: 47.59 MB / 327.7 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003872/0.3513, allocations: 2.291 MB / 330 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3532, allocations: 0.7082 MB / 330.7 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.3535, allocations: 3.5 kB / 330.7 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.3536, allocations: 30.27 kB / 330.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.3539, allocations: 73.23 kB / 330.8 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.3543, allocations: 79.2 kB / 330.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.3549, allocations: 335.2 kB / 331.2 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.3551, allocations: 61.8 kB / 331.3 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.3554, allocations: 127.9 kB / 331.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.3557, allocations: 147.6 kB / 331.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.3558, allocations: 17.47 kB / 331.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.3559, allocations: 16.16 kB / 331.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.024e-05/0.356, allocations: 58.95 kB / 331.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.3561, allocations: 74.52 kB / 331.7 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.3565, allocations: 263.5 kB / 332 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.3566, allocations: 0 / 332 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.3566, allocations: 0 / 332 MB, free: 14.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.3566, allocations: 1.156 kB / 332 MB, free: 14.22 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.002065/0.3587, allocations: 0.6599 MB / 332.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.797e-05/0.3587, allocations: 8.5 kB / 332.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.3589, allocations: 30.84 kB / 332.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3593, allocations: 262.9 kB / 332.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.3594, allocations: 12.06 kB / 333 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.3595, allocations: 25.44 kB / 333 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.3606, allocations: 329 kB / 333.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3606, allocations: 0 / 333.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.3607, allocations: 11.14 kB / 333.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3607, allocations: 8.281 kB / 333.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3621, allocations: 341.2 kB / 333.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.364, allocations: 0.9897 MB / 334.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.3669, allocations: 0.5979 MB / 335.2 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.3675, allocations: 240.7 kB / 335.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.3676, allocations: 8.328 kB / 335.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007265/0.3683, allocations: 263.2 kB / 335.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.424e-06/0.3683, allocations: 0 / 335.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001586/0.3699, allocations: 0.5211 MB / 336.3 MB, free: 10.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/0.37, allocations: 114.8 kB / 336.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3703, allocations: 229 kB / 336.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.3704, allocations: 29.7 kB / 336.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3705, allocations: 156.2 kB / 336.8 MB, free: 10.16 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/0.3706, allocations: 75 kB / 336.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.3707, allocations: 8 kB / 336.9 MB, free: 10.08 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3709, allocations: 334.8 kB / 337.2 MB, free: 9.746 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.3714, allocations: 164.3 kB / 337.3 MB, free: 9.586 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.3719, allocations: 196.2 kB / 337.5 MB, free: 9.383 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.3723, allocations: 189.6 kB / 337.7 MB, free: 9.191 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3724, allocations: 0 / 337.7 MB, free: 9.191 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001071/0.3734, allocations: 454.7 kB / 338.2 MB, free: 8.734 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.3735, allocations: 33.7 kB / 338.2 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3735, allocations: 4 kB / 338.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3735, allocations: 0 / 338.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.3753, allocations: 315.6 kB / 338.5 MB, free: 8.383 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.3798, allocations: 3.212 MB / 341.7 MB, free: 4.902 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.3802, allocations: 63.92 kB / 341.8 MB, free: 4.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.3802, allocations: 7.984 kB / 341.8 MB, free: 4.832 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0001872/0.3804, allocations: 145.7 kB / 341.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.3805, allocations: 23.72 kB / 342 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.098e-05/0.3806, allocations: 30.17 kB / 342 MB, free: 4.629 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3806, allocations: 4 kB / 342 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3806, allocations: 4 kB / 342 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3806, allocations: 0 / 342 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.3823, allocations: 0.9479 MB / 342.9 MB, free: 3.609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3824, allocations: 0 / 342.9 MB, free: 3.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.384, allocations: 315.7 kB / 343.3 MB, free: 3.301 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.3841, allocations: 4 kB / 343.3 MB, free: 3.297 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3841, allocations: 0 / 343.3 MB, free: 3.297 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004421/0.3885, allocations: 3.232 MB / 346.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3885, allocations: 12.12 kB / 346.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.3901, allocations: 0.6548 MB / 347.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.3902, allocations: 108.8 kB / 347.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.3903, allocations: 4 kB / 347.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.3906, allocations: 52.02 kB / 347.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3908, allocations: 27.95 kB / 347.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.3908, allocations: 8 kB / 347.4 MB, free: 14.9 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.391, allocations: 176.4 kB / 347.5 MB, free: 14.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.391, allocations: 3.938 kB / 347.5 MB, free: 14.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005227/0.3916, allocations: 75.84 kB / 347.6 MB, free: 14.65 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001561/0.3917, allocations: 111.2 kB / 347.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.3942, allocations: 0.6356 MB / 348.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3942, allocations: 4.125 kB / 348.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.3962, allocations: 447.6 kB / 348.8 MB, free: 13.45 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.3967, allocations: 44.34 kB / 348.8 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3986, allocations: 0.8083 MB / 349.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3989, allocations: 0.7482 MB / 350.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.3991, allocations: 21.95 kB / 350.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.3992, allocations: 23.44 kB / 350.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3992, allocations: 3.938 kB / 350.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of Templates: time 0.007791/0.407, allocations: 3.289 MB / 353.7 MB, free: 8.449 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)