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.00145/0.00145, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001412/0.001413, allocations: 196.2 kB / 16.26 MB, free: 6.625 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.819/1.819, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001148/0.001148, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2979, allocations: 46.63 MB / 324.8 MB, free: 1.91 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004097/0.302, allocations: 2.747 MB / 327.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3033, allocations: 0.7364 MB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3035, allocations: 2.969 kB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.3036, allocations: 35.34 kB / 328.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.3038, allocations: 77.17 kB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.304, allocations: 82.89 kB / 328.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.3045, allocations: 388.5 kB / 328.9 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.3048, allocations: 80.45 kB / 329 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.305, allocations: 146.9 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.3052, allocations: 168.3 kB / 329.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.3053, allocations: 37.14 kB / 329.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.3054, allocations: 33.28 kB / 329.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.67e-05/0.3055, allocations: 70.69 kB / 329.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3056, allocations: 150.7 kB / 329.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.306, allocations: 372.6 kB / 329.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.306, allocations: 0 / 329.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.306, allocations: 0 / 329.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.306, allocations: 1.344 kB / 329.9 MB, free: 14.04 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.001441/0.3075, allocations: 0.665 MB / 330.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.3075, allocations: 9.844 kB / 330.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.3076, allocations: 31.66 kB / 330.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3079, allocations: 270.6 kB / 330.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.3079, allocations: 17.69 kB / 330.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.308, allocations: 26.25 kB / 330.9 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007396/0.3087, allocations: 305.9 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3087, allocations: 7.984 kB / 331.3 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.3088, allocations: 6.188 kB / 331.3 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3088, allocations: 4.531 kB / 331.3 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.3097, allocations: 296.5 kB / 331.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.3114, allocations: 0.9744 MB / 332.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.3144, allocations: 496.3 kB / 333 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.315, allocations: 208.7 kB / 333.2 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.3151, allocations: 8 kB / 333.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000671/0.3157, allocations: 241.7 kB / 333.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.3158, allocations: 0 / 333.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001404/0.3172, allocations: 461.5 kB / 333.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.3172, allocations: 110.8 kB / 334 MB, free: 10.68 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.3175, allocations: 229 kB / 334.2 MB, free: 10.44 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3175, allocations: 29.7 kB / 334.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3177, allocations: 160.2 kB / 334.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.3177, allocations: 75 kB / 334.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.3178, allocations: 41.94 kB / 334.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.318, allocations: 338.8 kB / 334.9 MB, free: 9.785 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/0.3184, allocations: 136.4 kB / 335 MB, free: 9.652 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.3189, allocations: 180.2 kB / 335.2 MB, free: 9.465 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.3198, allocations: 324 kB / 335.5 MB, free: 9.133 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3198, allocations: 0 / 335.5 MB, free: 9.133 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00103/0.3208, allocations: 398.8 kB / 335.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.3209, allocations: 45.62 kB / 335.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3209, allocations: 3.938 kB / 335.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.321, allocations: 0 / 335.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.3228, allocations: 243.7 kB / 336.2 MB, free: 8.438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/0.3281, allocations: 3.4 MB / 339.6 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.3285, allocations: 51.95 kB / 339.6 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.3285, allocations: 8 kB / 339.6 MB, free: 4.699 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.0002862/0.3288, allocations: 138.5 kB / 339.8 MB, free: 4.555 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.3289, allocations: 27.7 kB / 339.8 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.329, allocations: 30.19 kB / 339.8 MB, free: 4.5 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.329, allocations: 4 kB / 339.8 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.329, allocations: 0 / 339.8 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.329, allocations: 7.922 kB / 339.8 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.3308, allocations: 0.8971 MB / 340.7 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3308, allocations: 0 / 340.7 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.3327, allocations: 231.7 kB / 341 MB, free: 3.301 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3327, allocations: 0 / 341 MB, free: 3.301 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.3328, allocations: 8 kB / 341 MB, free: 3.293 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/0.3381, allocations: 3.412 MB / 344.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3382, allocations: 0 / 344.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.3396, allocations: 0.5944 MB / 345 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.3397, allocations: 108.9 kB / 345.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.3398, allocations: 11.92 kB / 345.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.3402, allocations: 35.95 kB / 345.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3403, allocations: 27.97 kB / 345.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.3403, allocations: 8 kB / 345.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.3405, allocations: 172.5 kB / 345.3 MB, free: 14.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.836e-06/0.3405, allocations: 0 / 345.3 MB, free: 14.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.3411, allocations: 83.78 kB / 345.4 MB, free: 14.53 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.0001897/0.3413, allocations: 107.2 kB / 345.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.3441, allocations: 0.5458 MB / 346.1 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3441, allocations: 4.062 kB / 346.1 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.3461, allocations: 351.7 kB / 346.4 MB, free: 13.51 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3466, allocations: 48.22 kB / 346.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3484, allocations: 0.7758 MB / 347.2 MB, free: 12.65 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3487, allocations: 0.748 MB / 348 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.3489, allocations: 25.94 kB / 348 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.349, allocations: 19.44 kB / 348 MB, free: 11.84 MB / 286.1 MB Notification: Performance of SimCode: time 5.51e-07/0.349, allocations: 0 / 348 MB, free: 11.84 MB / 286.1 MB Notification: Performance of Templates: time 0.007295/0.3563, allocations: 3.606 MB / 351.6 MB, free: 8.234 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)