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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008125/0.008125, allocations: 170 kB / 16.26 MB, free: 6.613 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.536/1.536, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0007979/0.0007982, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2857, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003488/0.2893, allocations: 2.388 MB / 329.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.291, allocations: 0.7335 MB / 330.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2911, allocations: 2.469 kB / 330.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.2913, allocations: 31.28 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.2915, allocations: 76.8 kB / 330.3 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.2918, allocations: 90.81 kB / 330.3 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005/0.2923, allocations: 355.4 kB / 330.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.2926, allocations: 73.44 kB / 330.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.2929, allocations: 128.7 kB / 330.9 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.2932, allocations: 152.5 kB / 331 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.2933, allocations: 16.41 kB / 331 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.2933, allocations: 21.06 kB / 331.1 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/0.2934, allocations: 50.45 kB / 331.1 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.2936, allocations: 163.9 kB / 331.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.2941, allocations: 345.1 kB / 331.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.2942, allocations: 1.062 kB / 331.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.2942, allocations: 0 / 331.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.2942, allocations: 0 / 331.6 MB, free: 13.89 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.001922/0.2961, allocations: 0.653 MB / 332.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.2962, allocations: 9.969 kB / 332.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.2963, allocations: 31.78 kB / 332.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.2968, allocations: 275.9 kB / 332.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.2968, allocations: 16.53 kB / 332.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.2969, allocations: 21.5 kB / 332.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009522/0.2979, allocations: 335.2 kB / 332.9 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2979, allocations: 0 / 332.9 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.2979, allocations: 6.969 kB / 333 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2979, allocations: 4.312 kB / 333 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.299, allocations: 339 kB / 333.3 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.3012, allocations: 1.001 MB / 334.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.3043, allocations: 0.5997 MB / 334.9 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/0.305, allocations: 240.7 kB / 335.1 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.3051, allocations: 0 / 335.1 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007451/0.3058, allocations: 269.7 kB / 335.4 MB, free: 10.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.3058, allocations: 0 / 335.4 MB, free: 10.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.00177/0.3076, allocations: 0.5214 MB / 335.9 MB, free: 10.27 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.3077, allocations: 106.8 kB / 336 MB, free: 10.14 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.308, allocations: 229 kB / 336.2 MB, free: 9.902 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.3081, allocations: 33.7 kB / 336.3 MB, free: 9.863 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3082, allocations: 160.2 kB / 336.4 MB, free: 9.703 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.3083, allocations: 63.02 kB / 336.5 MB, free: 9.641 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.3083, allocations: 29.7 kB / 336.5 MB, free: 9.605 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3085, allocations: 338.8 kB / 336.8 MB, free: 9.266 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.3091, allocations: 160.4 kB / 337 MB, free: 9.109 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.3097, allocations: 204.2 kB / 337.2 MB, free: 8.898 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.3107, allocations: 364 kB / 337.6 MB, free: 8.527 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3107, allocations: 4 kB / 337.6 MB, free: 8.523 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00118/0.3119, allocations: 442.8 kB / 338 MB, free: 8.078 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.3119, allocations: 41.58 kB / 338 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.312, allocations: 3.984 kB / 338 MB, free: 8.027 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.312, allocations: 4 kB / 338 MB, free: 8.023 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.3138, allocations: 315.6 kB / 338.4 MB, free: 7.715 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004902/0.3187, allocations: 3.216 MB / 341.6 MB, free: 4.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.3192, allocations: 67.92 kB / 341.6 MB, free: 4.164 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3192, allocations: 12 kB / 341.6 MB, free: 4.152 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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.3194, allocations: 141.8 kB / 341.8 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.3195, allocations: 27.7 kB / 341.8 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.3196, allocations: 26.17 kB / 341.8 MB, free: 3.953 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3196, allocations: 7.938 kB / 341.8 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3196, allocations: 0 / 341.8 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3196, allocations: 0 / 341.8 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.3214, allocations: 0.9596 MB / 342.8 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3215, allocations: 0 / 342.8 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.3232, allocations: 295.8 kB / 343.1 MB, free: 2.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3232, allocations: 0 / 343.1 MB, free: 2.633 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.3232, allocations: 15.98 kB / 343.1 MB, free: 2.617 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.3276, allocations: 3.232 MB / 346.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3277, allocations: 0 / 346.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.3293, allocations: 0.6647 MB / 347 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.3294, allocations: 100.7 kB / 347.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.3295, allocations: 11.98 kB / 347.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.3298, allocations: 52.02 kB / 347.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.3299, allocations: 23.97 kB / 347.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.33, allocations: 11.98 kB / 347.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3301, allocations: 168.5 kB / 347.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3301, allocations: 0 / 347.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004979/0.3306, allocations: 83.84 kB / 347.4 MB, free: 13.98 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001512/0.3308, allocations: 115.2 kB / 347.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.3335, allocations: 0.6434 MB / 348.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3335, allocations: 0 / 348.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.3356, allocations: 447.8 kB / 348.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.336, allocations: 36.36 kB / 348.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.3378, allocations: 0.8356 MB / 349.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3381, allocations: 0.7482 MB / 350.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.3383, allocations: 21.95 kB / 350.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.3384, allocations: 19.44 kB / 350.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3384, allocations: 0 / 350.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Templates: time 0.007416/0.3458, allocations: 3.411 MB / 353.7 MB, free: 7.633 MB / 286.1 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)