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.00132/0.00132, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 198 kB / 16.53 MB, free: 6.668 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.605/1.605, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001367/0.001367, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3426, allocations: 46.64 MB / 325.3 MB, free: 2.074 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003939/0.3466, allocations: 2.696 MB / 328 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3482, allocations: 0.7529 MB / 328.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.3484, allocations: 3.594 kB / 328.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.3486, allocations: 38.42 kB / 328.8 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.3489, allocations: 83.61 kB / 328.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.3493, allocations: 102.7 kB / 329 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.3499, allocations: 384.8 kB / 329.4 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.3502, allocations: 77.42 kB / 329.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.3505, allocations: 146.6 kB / 329.6 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3508, allocations: 168.7 kB / 329.7 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.3508, allocations: 32.97 kB / 329.8 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.3509, allocations: 32.12 kB / 329.8 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-05/0.351, allocations: 79.3 kB / 329.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.3512, allocations: 151.1 kB / 330 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.3516, allocations: 360.1 kB / 330.4 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3517, allocations: 0.9062 kB / 330.4 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3517, allocations: 4 kB / 330.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3517, allocations: 0 / 330.4 MB, free: 14.2 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.00168/0.3534, allocations: 0.6738 MB / 331.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3534, allocations: 9.844 kB / 331.1 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.559e-05/0.3535, allocations: 30.88 kB / 331.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.3539, allocations: 272 kB / 331.4 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.354, allocations: 16.84 kB / 331.4 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.3541, allocations: 17.69 kB / 331.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.3549, allocations: 310.3 kB / 331.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3549, allocations: 0 / 331.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.355, allocations: 10.31 kB / 331.7 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.355, allocations: 9.594 kB / 331.7 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/0.3559, allocations: 296 kB / 332 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.3577, allocations: 0.9749 MB / 333 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.361, allocations: 498.9 kB / 333.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/0.3619, allocations: 212.7 kB / 333.7 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.362, allocations: 0 / 333.7 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009473/0.3629, allocations: 237.7 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.363, allocations: 0 / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.002126/0.3651, allocations: 465.4 kB / 334.4 MB, free: 10.79 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3652, allocations: 110.8 kB / 334.5 MB, free: 10.65 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.3656, allocations: 233 kB / 334.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.3657, allocations: 33.64 kB / 334.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3658, allocations: 160.2 kB / 334.9 MB, free: 10.21 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.755e-05/0.3659, allocations: 70.98 kB / 335 MB, free: 10.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3661, allocations: 45.94 kB / 335 MB, free: 10.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3662, allocations: 330.8 kB / 335.3 MB, free: 9.762 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.3669, allocations: 148.4 kB / 335.5 MB, free: 9.617 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.3676, allocations: 172.2 kB / 335.6 MB, free: 9.438 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.3688, allocations: 320 kB / 336 MB, free: 9.109 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3688, allocations: 4 kB / 336 MB, free: 9.105 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001514/0.3704, allocations: 402.8 kB / 336.4 MB, free: 8.699 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.3704, allocations: 41.62 kB / 336.4 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3705, allocations: 0 / 336.4 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3705, allocations: 0 / 336.4 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.3727, allocations: 243.6 kB / 336.6 MB, free: 8.414 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006227/0.3789, allocations: 3.4 MB / 340 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.3797, allocations: 47.89 kB / 340.1 MB, free: 4.688 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3797, allocations: 12 kB / 340.1 MB, free: 4.676 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.0002877/0.38, allocations: 137.8 kB / 340.2 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.3801, allocations: 23.72 kB / 340.2 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.871e-05/0.3802, allocations: 30.17 kB / 340.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3802, allocations: 4 kB / 340.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3802, allocations: 4 kB / 340.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3802, allocations: 0 / 340.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.3827, allocations: 0.9016 MB / 341.2 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3827, allocations: 8.062 kB / 341.2 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/0.3849, allocations: 223.7 kB / 341.4 MB, free: 3.281 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.3849, allocations: 4 kB / 341.4 MB, free: 3.277 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.3849, allocations: 3.984 kB / 341.4 MB, free: 3.273 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/0.3911, allocations: 3.416 MB / 344.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3911, allocations: 4.031 kB / 344.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.3929, allocations: 0.5943 MB / 345.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.393, allocations: 100.8 kB / 345.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.3931, allocations: 11.94 kB / 345.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.3935, allocations: 44.02 kB / 345.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3936, allocations: 23.95 kB / 345.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3937, allocations: 12 kB / 345.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3939, allocations: 164.5 kB / 345.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3939, allocations: 0 / 345.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.3945, allocations: 87.84 kB / 345.9 MB, free: 14.51 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.0002002/0.3947, allocations: 115.2 kB / 346 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.3973, allocations: 0.5456 MB / 346.5 MB, free: 13.83 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3973, allocations: 0 / 346.5 MB, free: 13.83 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002546/0.3999, allocations: 355.8 kB / 346.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.4007, allocations: 44.91 kB / 346.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4034, allocations: 0.682 MB / 347.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.4039, allocations: 0.748 MB / 348.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.4041, allocations: 33.88 kB / 348.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4042, allocations: 23.44 kB / 348.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of SimCode: time 2.154e-06/0.4042, allocations: 0 / 348.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of Templates: time 0.01207/0.4163, allocations: 3.723 MB / 352.1 MB, free: 8.168 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)