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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009279/0.0009278, allocations: 179.7 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.209/1.209, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001702/0.001702, allocations: 110.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002845, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0759/0.0762, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.2908, allocations: 74.87 MB / 429.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.2911, allocations: 73.41 kB / 430 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.3028, allocations: 4.654 MB / 434.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3028, allocations: 0 / 434.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3028, allocations: 4 kB / 434.6 MB, free: 10.79 MB / 314.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.00104/0.3039, allocations: 0.6404 MB / 435.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3039, allocations: 13.72 kB / 435.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.304, allocations: 32.66 kB / 435.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.3042, allocations: 261.8 kB / 435.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3042, allocations: 17.62 kB / 435.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.3043, allocations: 23.81 kB / 435.6 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.3049, allocations: 324.9 kB / 435.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3049, allocations: 0 / 435.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.3049, allocations: 14.3 kB / 436 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.305, allocations: 4.844 kB / 436 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/0.3058, allocations: 337.2 kB / 436.3 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.3073, allocations: 1.012 MB / 437.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.3106, allocations: 0.6167 MB / 437.9 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3106, allocations: 7.953 kB / 437.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.3112, allocations: 261.3 kB / 438.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.3112, allocations: 0 / 438.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001331/0.3125, allocations: 0.527 MB / 438.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.3125, allocations: 77.11 kB / 438.8 MB, free: 7.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3127, allocations: 207.5 kB / 439 MB, free: 6.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3128, allocations: 29.89 kB / 439 MB, free: 6.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.3128, allocations: 160.7 kB / 439.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.3129, allocations: 76.73 kB / 439.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.3129, allocations: 3.938 kB / 439.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.313, allocations: 334.3 kB / 439.6 MB, free: 6.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.3134, allocations: 165.2 kB / 439.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.3138, allocations: 197.9 kB / 439.9 MB, free: 6.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3142, allocations: 196.9 kB / 440.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3142, allocations: 1.781 kB / 440.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009148/0.3152, allocations: 453.1 kB / 440.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.3152, allocations: 42.77 kB / 440.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3152, allocations: 0 / 440.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3152, allocations: 0 / 440.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.3175, allocations: 333.6 kB / 440.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.3217, allocations: 3.275 MB / 444.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.3221, allocations: 63.36 kB / 444.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.3221, allocations: 8 kB / 444.3 MB, free: 1.629 MB / 314.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.0001394/0.3223, allocations: 146.5 kB / 444.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.3223, allocations: 28.78 kB / 444.5 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.3224, allocations: 25.06 kB / 444.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3224, allocations: 8 kB / 444.5 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3224, allocations: 0 / 444.5 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3224, allocations: 3.984 kB / 444.5 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3227, allocations: 354.2 kB / 444.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3227, allocations: 0 / 444.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/0.325, allocations: 319.7 kB / 445.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.325, allocations: 7.984 kB / 445.2 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.325, allocations: 4.812 kB / 445.2 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00469/0.3297, allocations: 3.285 MB / 448.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3298, allocations: 3.953 kB / 448.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.3312, allocations: 0.5937 MB / 449 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.3313, allocations: 108.3 kB / 449.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.3313, allocations: 3.875 kB / 449.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.3317, allocations: 52.86 kB / 449.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.3318, allocations: 30.2 kB / 449.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3318, allocations: 7.953 kB / 449.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.332, allocations: 168.5 kB / 449.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.332, allocations: 0 / 449.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.3324, allocations: 81.91 kB / 449.5 MB, free: 12.46 MB / 330.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.0001468/0.3326, allocations: 122.6 kB / 449.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.3354, allocations: 0.6411 MB / 450.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3354, allocations: 4 kB / 450.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.3377, allocations: 422.5 kB / 450.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.338, allocations: 40.33 kB / 450.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3394, allocations: 0.7084 MB / 451.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3397, allocations: 0.7563 MB / 452.2 MB, free: 9.883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.3399, allocations: 25.94 kB / 452.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.3399, allocations: 15.44 kB / 452.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.34, allocations: 0 / 452.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of Templates: time 0.006166/0.3461, allocations: 3.154 MB / 455.4 MB, free: 6.766 MB / 330.7 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)