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.001118/0.001118, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001167/0.001167, allocations: 168.7 kB / 15.95 MB, free: 204 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.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005102/0.0005102, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2974, allocations: 47.6 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002771/0.3002, allocations: 2.296 MB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3015, allocations: 0.7012 MB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3017, allocations: 2.719 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.3018, allocations: 30.38 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.302, allocations: 76.55 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.3023, allocations: 74.84 kB / 329.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.3027, allocations: 339.9 kB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.3029, allocations: 57.23 kB / 330 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3031, allocations: 133.6 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.3033, allocations: 143.5 kB / 330.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.3034, allocations: 16.97 kB / 330.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.3034, allocations: 16.47 kB / 330.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.3035, allocations: 55.77 kB / 330.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.3036, allocations: 77.67 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.3039, allocations: 262.8 kB / 330.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3039, allocations: 0 / 330.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3039, allocations: 0.875 kB / 330.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3039, allocations: 0 / 330.7 MB, free: 14.14 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.001468/0.3054, allocations: 0.6638 MB / 331.4 MB, free: 13.58 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3054, allocations: 8.406 kB / 331.4 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.417e-05/0.3055, allocations: 31.84 kB / 331.4 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.3059, allocations: 258.5 kB / 331.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.3059, allocations: 12.06 kB / 331.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.306, allocations: 22.19 kB / 331.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007892/0.3068, allocations: 336 kB / 332 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3068, allocations: 3.938 kB / 332.1 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.3069, allocations: 6.219 kB / 332.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3069, allocations: 5.125 kB / 332.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009239/0.3078, allocations: 333.6 kB / 332.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.3096, allocations: 0.9976 MB / 333.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.3125, allocations: 0.6046 MB / 334 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.3131, allocations: 236.7 kB / 334.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.3132, allocations: 4.344 kB / 334.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006942/0.3139, allocations: 259.2 kB / 334.5 MB, free: 11.28 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.3139, allocations: 4 kB / 334.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001506/0.3154, allocations: 0.5172 MB / 335 MB, free: 10.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3155, allocations: 114.8 kB / 335.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.3157, allocations: 225 kB / 335.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.3158, allocations: 33.7 kB / 335.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3159, allocations: 164.1 kB / 335.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.316, allocations: 67.02 kB / 335.6 MB, free: 10.11 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.316, allocations: 7.938 kB / 335.6 MB, free: 10.1 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3162, allocations: 334.8 kB / 335.9 MB, free: 9.766 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.3166, allocations: 164.3 kB / 336.1 MB, free: 9.605 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.3171, allocations: 200.2 kB / 336.3 MB, free: 9.398 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.3176, allocations: 193.6 kB / 336.5 MB, free: 9.203 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3176, allocations: 0 / 336.5 MB, free: 9.203 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001076/0.3187, allocations: 446.7 kB / 336.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.3188, allocations: 41.7 kB / 336.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3188, allocations: 0 / 336.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.3188, allocations: 0 / 336.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.3206, allocations: 311.6 kB / 337.3 MB, free: 8.402 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/0.3249, allocations: 3.224 MB / 340.5 MB, free: 4.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.3254, allocations: 59.83 kB / 340.5 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.3254, allocations: 12.03 kB / 340.5 MB, free: 4.84 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.0001918/0.3256, allocations: 141.8 kB / 340.7 MB, free: 4.691 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3257, allocations: 23.72 kB / 340.7 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.3257, allocations: 30.17 kB / 340.7 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3257, allocations: 4 kB / 340.7 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3258, allocations: 0 / 340.7 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3258, allocations: 0 / 340.7 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.3275, allocations: 0.9595 MB / 341.7 MB, free: 3.613 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3275, allocations: 4 kB / 341.7 MB, free: 3.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.3292, allocations: 299.8 kB / 342 MB, free: 3.316 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3292, allocations: 4 kB / 342 MB, free: 3.312 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.3292, allocations: 3.984 kB / 342 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/0.3335, allocations: 3.244 MB / 345.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3335, allocations: 0 / 345.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.335, allocations: 0.6584 MB / 345.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.3351, allocations: 104.8 kB / 346 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.3352, allocations: 11.94 kB / 346 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.3355, allocations: 51.95 kB / 346.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.3356, allocations: 27.95 kB / 346.1 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3357, allocations: 12 kB / 346.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.3358, allocations: 168.5 kB / 346.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3358, allocations: 0 / 346.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.3364, allocations: 79.84 kB / 346.4 MB, free: 14.66 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.0001475/0.3365, allocations: 107.1 kB / 346.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.339, allocations: 0.6395 MB / 347.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.339, allocations: 0 / 347.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.341, allocations: 451.8 kB / 347.5 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.0004439/0.3415, allocations: 36.36 kB / 347.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.3433, allocations: 0.8161 MB / 348.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3437, allocations: 0.7521 MB / 349.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.3438, allocations: 21.94 kB / 349.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.3439, allocations: 27.44 kB / 349.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3439, allocations: 0 / 349.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of Templates: time 0.007719/0.3516, allocations: 3.281 MB / 352.5 MB, free: 8.461 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)