Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0008006/0.0008009, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0009032/0.0009032, allocations: 172.7 kB / 15.95 MB, free: 208 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.499/1.499, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.0004133/0.0004134, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002582/0.2879, allocations: 2.296 MB / 328.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2891, allocations: 0.7011 MB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.2893, allocations: 2.406 kB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.2894, allocations: 27.39 kB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.2896, allocations: 76.98 kB / 329.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.2899, allocations: 77.92 kB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.2903, allocations: 336.9 kB / 330 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2904, allocations: 64.36 kB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.2907, allocations: 129.1 kB / 330.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.2909, allocations: 147.1 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.291, allocations: 17.25 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.015e-05/0.2911, allocations: 16.66 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.2911, allocations: 55.64 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.367e-05/0.2912, allocations: 77.58 kB / 330.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.2916, allocations: 263.2 kB / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2916, allocations: 0 / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2916, allocations: 4.938 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2916, allocations: 0 / 330.7 MB, free: 14.16 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.001495/0.2931, allocations: 0.656 MB / 331.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2931, allocations: 8.719 kB / 331.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.2932, allocations: 34.64 kB / 331.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.2936, allocations: 258.5 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.2936, allocations: 17.66 kB / 331.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.2937, allocations: 16.75 kB / 331.7 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.2945, allocations: 336.3 kB / 332.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2945, allocations: 1.094 kB / 332.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.2945, allocations: 6.219 kB / 332.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2945, allocations: 8.391 kB / 332.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.2955, allocations: 337.6 kB / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.2975, allocations: 0.9933 MB / 333.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/0.3003, allocations: 0.6024 MB / 334 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.301, allocations: 240.7 kB / 334.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.301, allocations: 8.328 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/0.3017, allocations: 259.2 kB / 334.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.285e-06/0.3017, allocations: 0 / 334.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001537/0.3032, allocations: 0.5211 MB / 335 MB, free: 10.7 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.3033, allocations: 106.8 kB / 335.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3036, allocations: 233 kB / 335.3 MB, free: 10.33 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.3037, allocations: 33.64 kB / 335.4 MB, free: 10.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3038, allocations: 160.2 kB / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.3039, allocations: 71 kB / 335.6 MB, free: 10.06 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.3039, allocations: 4 kB / 335.6 MB, free: 10.06 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.304, allocations: 334.8 kB / 335.9 MB, free: 9.723 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.3045, allocations: 164.4 kB / 336.1 MB, free: 9.562 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.305, allocations: 196.2 kB / 336.3 MB, free: 9.359 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.3054, allocations: 185.7 kB / 336.5 MB, free: 9.172 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3055, allocations: 0 / 336.5 MB, free: 9.172 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001054/0.3065, allocations: 458.7 kB / 336.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.3066, allocations: 33.7 kB / 336.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3066, allocations: 0 / 336.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3066, allocations: 4 kB / 336.9 MB, free: 8.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.3083, allocations: 311.6 kB / 337.3 MB, free: 8.363 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.3128, allocations: 3.216 MB / 340.5 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.3132, allocations: 63.89 kB / 340.5 MB, free: 4.816 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.3133, allocations: 11.98 kB / 340.5 MB, free: 4.805 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.000205/0.3135, allocations: 141.8 kB / 340.7 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.3135, allocations: 23.66 kB / 340.7 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.872e-05/0.3136, allocations: 34.17 kB / 340.7 MB, free: 4.602 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3136, allocations: 3.938 kB / 340.7 MB, free: 4.598 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3136, allocations: 4 kB / 340.7 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3136, allocations: 3.938 kB / 340.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.3155, allocations: 0.9518 MB / 341.7 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3155, allocations: 0 / 341.7 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.3172, allocations: 311.7 kB / 342 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3172, allocations: 0 / 342 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.3172, allocations: 4 kB / 342 MB, free: 3.266 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004298/0.3215, allocations: 3.236 MB / 345.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3215, allocations: 0 / 345.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.3231, allocations: 0.6666 MB / 345.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3232, allocations: 104.8 kB / 346 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.3233, allocations: 8 kB / 346 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.3236, allocations: 52.02 kB / 346.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3237, allocations: 27.95 kB / 346.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3238, allocations: 8 kB / 346.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.3239, allocations: 168.5 kB / 346.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3239, allocations: 0 / 346.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005273/0.3245, allocations: 79.84 kB / 346.4 MB, free: 14.62 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.0001688/0.3247, allocations: 111.2 kB / 346.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.3272, allocations: 0.6395 MB / 347.1 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3273, allocations: 0 / 347.1 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.3292, allocations: 451.7 kB / 347.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.3297, allocations: 36.41 kB / 347.6 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3316, allocations: 0.8083 MB / 348.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.332, allocations: 0.7482 MB / 349.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.3322, allocations: 25.95 kB / 349.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.3322, allocations: 19.44 kB / 349.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3322, allocations: 0 / 349.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of Templates: time 0.008693/0.3409, allocations: 3.301 MB / 352.5 MB, free: 8.418 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)