Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001407/0.001407, allocations: 93.75 kB / 16.3 MB, free: 5.992 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.001798/0.001798, allocations: 183.5 kB / 17.2 MB, free: 5.914 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.778/1.778, allocations: 205.4 MB / 223.4 MB, free: 5.539 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.0007904/0.0007905, allocations: 12 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3881, allocations: 47.59 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003407/0.3916, allocations: 2.188 MB / 329.9 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3933, allocations: 0.7217 MB / 330.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.3935, allocations: 3.375 kB / 330.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.603e-05/0.3936, allocations: 30.97 kB / 330.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.3938, allocations: 94.89 kB / 330.7 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.3942, allocations: 82.64 kB / 330.8 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.3945, allocations: 233.5 kB / 331 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.3948, allocations: 73.48 kB / 331.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.3951, allocations: 128.1 kB / 331.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.3953, allocations: 147.2 kB / 331.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.3954, allocations: 17.31 kB / 331.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.362e-05/0.3954, allocations: 16.25 kB / 331.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.3955, allocations: 51.16 kB / 331.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.188e-05/0.3956, allocations: 70.3 kB / 331.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.3959, allocations: 266.3 kB / 331.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3959, allocations: 0 / 331.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3959, allocations: 0 / 331.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.396, allocations: 0 / 331.8 MB, free: 14.31 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.001798/0.3978, allocations: 0.6669 MB / 332.5 MB, free: 13.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.3978, allocations: 9.438 kB / 332.5 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.398, allocations: 31.06 kB / 332.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.3984, allocations: 254.6 kB / 332.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.3984, allocations: 16.38 kB / 332.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.3985, allocations: 18.28 kB / 332.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000945/0.3995, allocations: 326.3 kB / 333.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3995, allocations: 1.25 kB / 333.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.3995, allocations: 13.36 kB / 333.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3996, allocations: 6.094 kB / 333.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.4006, allocations: 332.5 kB / 333.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.4025, allocations: 1.009 MB / 334.5 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.4057, allocations: 0.5969 MB / 335.1 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.4058, allocations: 0 / 335.1 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007595/0.4065, allocations: 254.9 kB / 335.3 MB, free: 11.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.4065, allocations: 4 kB / 335.3 MB, free: 11.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001631/0.4082, allocations: 0.5221 MB / 335.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.4083, allocations: 85.11 kB / 335.9 MB, free: 11.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.4086, allocations: 233 kB / 336.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.4086, allocations: 33.7 kB / 336.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4087, allocations: 156.2 kB / 336.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.4088, allocations: 74.98 kB / 336.4 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.4088, allocations: 4 kB / 336.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.409, allocations: 334.8 kB / 336.7 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.4095, allocations: 164.4 kB / 336.9 MB, free: 10.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.41, allocations: 195.4 kB / 337.1 MB, free: 9.867 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.4106, allocations: 190.6 kB / 337.3 MB, free: 9.676 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4106, allocations: 0 / 337.3 MB, free: 9.676 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001142/0.4117, allocations: 447.8 kB / 337.7 MB, free: 9.227 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.4118, allocations: 37.64 kB / 337.7 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4118, allocations: 4 kB / 337.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4118, allocations: 7.953 kB / 337.7 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.4136, allocations: 311.6 kB / 338.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005162/0.4188, allocations: 3.248 MB / 341.3 MB, free: 5.352 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.4193, allocations: 67.73 kB / 341.4 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.4193, allocations: 12.06 kB / 341.4 MB, free: 5.273 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002333/0.4196, allocations: 145.7 kB / 341.5 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.4197, allocations: 23.72 kB / 341.5 MB, free: 5.098 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.4197, allocations: 22.19 kB / 341.6 MB, free: 5.078 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4197, allocations: 4 kB / 341.6 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4198, allocations: 3.984 kB / 341.6 MB, free: 5.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4198, allocations: 0 / 341.6 MB, free: 5.07 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.4203, allocations: 349.2 kB / 341.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4203, allocations: 4 kB / 341.9 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.422, allocations: 307.6 kB / 342.2 MB, free: 4.375 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.422, allocations: 0 / 342.2 MB, free: 4.375 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.4221, allocations: 4 kB / 342.2 MB, free: 4.371 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004937/0.427, allocations: 3.263 MB / 345.5 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4271, allocations: 0 / 345.5 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.4289, allocations: 0.5949 MB / 346.1 MB, free: 240 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.4292, allocations: 100.8 kB / 346.2 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.4293, allocations: 12 kB / 346.2 MB, free: 108 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.4297, allocations: 52.02 kB / 346.2 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.4299, allocations: 27.95 kB / 346.3 MB, free: 28 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.43, allocations: 4 kB / 346.3 MB, free: 24 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002838/0.4302, allocations: 172.4 kB / 346.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4303, allocations: 0 / 346.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007495/0.431, allocations: 87.84 kB / 346.5 MB, free: 15.77 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0003001/0.4313, allocations: 103.2 kB / 346.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.4341, allocations: 0.6473 MB / 347.3 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4341, allocations: 4.062 kB / 347.3 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.4361, allocations: 427.6 kB / 347.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.4366, allocations: 36.27 kB / 347.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4384, allocations: 0.7677 MB / 348.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.4388, allocations: 0.7521 MB / 349.3 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.439, allocations: 33.92 kB / 349.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.4391, allocations: 19.44 kB / 349.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4391, allocations: 0 / 349.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of Templates: time 0.008526/0.4476, allocations: 3.187 MB / 352.5 MB, free: 9.73 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) Environment - environmentSimulation: