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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001435/0.001435, allocations: 190.4 kB / 16.14 MB, free: 6.707 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.571/1.571, allocations: 205.1 MB / 222 MB, free: 4.766 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.002103/0.002103, allocations: 43.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3041, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004058/0.3082, allocations: 2.75 MB / 327.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3095, allocations: 0.7423 MB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3096, allocations: 11.44 kB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.3097, allocations: 27.14 kB / 328.2 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.3099, allocations: 72.3 kB / 328.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3102, allocations: 91.33 kB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.3106, allocations: 355 kB / 328.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.3108, allocations: 70.36 kB / 328.8 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.311, allocations: 137.5 kB / 328.9 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.3113, allocations: 160.3 kB / 329.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.3113, allocations: 19.59 kB / 329.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.727e-05/0.3114, allocations: 23.16 kB / 329.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.3115, allocations: 54.91 kB / 329.2 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.3116, allocations: 142.9 kB / 329.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.312, allocations: 345.2 kB / 329.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.312, allocations: 1.062 kB / 329.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.312, allocations: 0 / 329.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.312, allocations: 0 / 329.6 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.001703/0.3137, allocations: 0.6693 MB / 330.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3138, allocations: 10.12 kB / 330.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.47e-05/0.3139, allocations: 30.91 kB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.3142, allocations: 279.4 kB / 330.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.3143, allocations: 18.16 kB / 330.6 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.3143, allocations: 17.62 kB / 330.7 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.3151, allocations: 314.5 kB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3151, allocations: 0 / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.3152, allocations: 9.344 kB / 331 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3152, allocations: 5.625 kB / 331 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009282/0.3161, allocations: 288.1 kB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.3178, allocations: 0.9747 MB / 332.2 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.321, allocations: 0.4907 MB / 332.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/0.3216, allocations: 217.6 kB / 332.9 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.3217, allocations: 7.922 kB / 332.9 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007182/0.3224, allocations: 237.7 kB / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.3224, allocations: 0 / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001456/0.3239, allocations: 465.9 kB / 333.6 MB, free: 10.97 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.324, allocations: 106.8 kB / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.3242, allocations: 240.9 kB / 334 MB, free: 10.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.3242, allocations: 29.7 kB / 334 MB, free: 10.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3243, allocations: 156.2 kB / 334.2 MB, free: 10.4 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.3244, allocations: 74.98 kB / 334.2 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.3245, allocations: 49.94 kB / 334.3 MB, free: 10.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3247, allocations: 334.8 kB / 334.6 MB, free: 9.934 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.3251, allocations: 136.4 kB / 334.7 MB, free: 9.801 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.3256, allocations: 176.2 kB / 334.9 MB, free: 9.617 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/0.3265, allocations: 324 kB / 335.2 MB, free: 9.285 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3265, allocations: 4 kB / 335.2 MB, free: 9.281 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001031/0.3275, allocations: 398.8 kB / 335.6 MB, free: 8.879 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.3276, allocations: 37.64 kB / 335.7 MB, free: 8.836 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3276, allocations: 4.062 kB / 335.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3276, allocations: 0 / 335.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.3294, allocations: 239.7 kB / 335.9 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.3339, allocations: 3.099 MB / 339 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.3344, allocations: 51.83 kB / 339 MB, free: 5.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.3344, allocations: 8 kB / 339.1 MB, free: 5.172 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.0001873/0.3346, allocations: 145.9 kB / 339.2 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.3347, allocations: 27.72 kB / 339.2 MB, free: 4.992 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.3347, allocations: 26.17 kB / 339.2 MB, free: 4.969 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3347, allocations: 7.938 kB / 339.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.3347, allocations: 0 / 339.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3348, allocations: 0 / 339.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.3365, allocations: 0.8971 MB / 340.2 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3365, allocations: 0 / 340.2 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.3382, allocations: 235.7 kB / 340.4 MB, free: 3.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3382, allocations: 0 / 340.4 MB, free: 3.77 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.3383, allocations: 11.98 kB / 340.4 MB, free: 3.758 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/0.3428, allocations: 3.111 MB / 343.5 MB, free: 396 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3428, allocations: 0 / 343.5 MB, free: 396 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.3444, allocations: 0.5944 MB / 344.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3445, allocations: 112.7 kB / 344.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.3446, allocations: 4 kB / 344.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.3449, allocations: 44.02 kB / 344.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.3451, allocations: 31.89 kB / 344.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.3451, allocations: 7.984 kB / 344.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.3453, allocations: 172.4 kB / 344.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3453, allocations: 0 / 344.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005609/0.3459, allocations: 83.84 kB / 344.5 MB, free: 15.3 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.0001741/0.3461, allocations: 107.2 kB / 344.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.3487, allocations: 0.534 MB / 345.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3487, allocations: 0 / 345.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.3508, allocations: 355.8 kB / 345.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.3515, allocations: 40.36 kB / 345.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.3536, allocations: 0.7581 MB / 346.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.354, allocations: 0.7521 MB / 347.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.3542, allocations: 25.94 kB / 347.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.3543, allocations: 15.44 kB / 347.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3543, allocations: 7.938 kB / 347.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of Templates: time 0.008526/0.3628, allocations: 3.439 MB / 350.6 MB, free: 9.207 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)