Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005181/0.005181, allocations: 165.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.364/1.364, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001625/0.001624, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 15.98 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2184, allocations: 38.76 MB / 312.9 MB, free: 38.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08593/0.3044, allocations: 69.86 MB / 382.7 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.3047, allocations: 67.97 kB / 382.8 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.319, allocations: 4.716 MB / 387.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3191, allocations: 0 / 387.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.3191, allocations: 8 kB / 387.5 MB, free: 15.87 MB / 298.7 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.001278/0.3204, allocations: 0.6378 MB / 388.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3204, allocations: 8.031 kB / 388.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/0.3205, allocations: 35.62 kB / 388.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.3209, allocations: 255.7 kB / 388.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3209, allocations: 20.44 kB / 388.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.321, allocations: 27.95 kB / 388.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.3217, allocations: 327.8 kB / 388.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3218, allocations: 3.938 kB / 388.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.3218, allocations: 4 kB / 388.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3218, allocations: 4 kB / 388.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.3227, allocations: 333.5 kB / 389.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.3246, allocations: 1.023 MB / 390.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.3281, allocations: 0.6309 MB / 390.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3282, allocations: 0 / 390.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.3289, allocations: 254.6 kB / 391.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.3289, allocations: 0 / 391.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001506/0.3304, allocations: 0.5378 MB / 391.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.3305, allocations: 81.11 kB / 391.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.3307, allocations: 212.2 kB / 391.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.3308, allocations: 29.7 kB / 391.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3309, allocations: 152.2 kB / 392.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.331, allocations: 78.98 kB / 392.2 MB, free: 11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.331, allocations: 4 kB / 392.2 MB, free: 11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3312, allocations: 330.8 kB / 392.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.3317, allocations: 168.4 kB / 392.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.3322, allocations: 195.4 kB / 392.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.3327, allocations: 194.6 kB / 393 MB, free: 10.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.3327, allocations: 0 / 393 MB, free: 10.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001077/0.3338, allocations: 453.1 kB / 393.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/0.3339, allocations: 47.88 kB / 393.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3339, allocations: 0 / 393.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3339, allocations: 3.938 kB / 393.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/0.3364, allocations: 331.6 kB / 393.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/0.3416, allocations: 3.279 MB / 397.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.3421, allocations: 67.91 kB / 397.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.3422, allocations: 8 kB / 397.2 MB, free: 5.664 MB / 298.7 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.0002015/0.3424, allocations: 133.8 kB / 397.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.3424, allocations: 27.67 kB / 397.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.3425, allocations: 30.17 kB / 397.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3425, allocations: 8 kB / 397.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3425, allocations: 7.984 kB / 397.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3425, allocations: 0 / 397.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.3429, allocations: 357.1 kB / 397.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3429, allocations: 0 / 397.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/0.3453, allocations: 327.7 kB / 398.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3453, allocations: 3.953 kB / 398.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.3454, allocations: 3.984 kB / 398.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/0.3504, allocations: 3.271 MB / 401.3 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3504, allocations: 8.047 kB / 401.4 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.3519, allocations: 0.5903 MB / 401.9 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.352, allocations: 116.8 kB / 402.1 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.3521, allocations: 11.98 kB / 402.1 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.3525, allocations: 56.02 kB / 402.1 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.3526, allocations: 23.91 kB / 402.1 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3526, allocations: 11.98 kB / 402.2 MB, free: 344 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.3528, allocations: 168.5 kB / 402.3 MB, free: 176 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3528, allocations: 0 / 402.3 MB, free: 176 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.3533, allocations: 87.78 kB / 402.4 MB, free: 88 kB / 298.7 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.000199/0.3535, allocations: 115.2 kB / 402.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.3565, allocations: 0.6443 MB / 403.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3565, allocations: 0 / 403.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.3588, allocations: 423.6 kB / 403.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3592, allocations: 55.66 kB / 403.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3608, allocations: 0.7061 MB / 404.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3611, allocations: 0.756 MB / 405.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00015/0.3613, allocations: 25.94 kB / 405.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.3613, allocations: 15.44 kB / 405.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3614, allocations: 4 kB / 405.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of Templates: time 0.006508/0.3679, allocations: 3.159 MB / 408.3 MB, free: 10.14 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)