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.0009439/0.0009439, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009755/0.0009758, allocations: 177.3 kB / 15.94 MB, free: 228 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.426/1.426, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.000418/0.0004181, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.252, allocations: 47.59 MB / 326.4 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00262/0.2546, allocations: 2.186 MB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.256, allocations: 0.7304 MB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2562, allocations: 2.656 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.554e-05/0.2563, allocations: 31.38 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.2565, allocations: 90.83 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.2568, allocations: 75.36 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.2572, allocations: 237.7 kB / 329.8 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.2574, allocations: 64.09 kB / 329.9 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.2576, allocations: 127.8 kB / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.2579, allocations: 148.3 kB / 330.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.258, allocations: 16.44 kB / 330.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.258, allocations: 24.53 kB / 330.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.2581, allocations: 51.25 kB / 330.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.2582, allocations: 74.8 kB / 330.3 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.2585, allocations: 261.2 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2585, allocations: 0.9062 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2585, allocations: 0 / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.2586, allocations: 0 / 330.5 MB, free: 14.33 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.001539/0.2601, allocations: 0.6638 MB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2602, allocations: 12.67 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/0.2602, allocations: 35 kB / 331.3 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.2606, allocations: 258.5 kB / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.2606, allocations: 12.41 kB / 331.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.2607, allocations: 22.12 kB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008068/0.2615, allocations: 327.4 kB / 331.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2615, allocations: 0 / 331.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.2616, allocations: 9.375 kB / 331.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.2616, allocations: 5.5 kB / 331.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.2626, allocations: 342.2 kB / 332.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.2645, allocations: 0.9958 MB / 333.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.2674, allocations: 0.5925 MB / 333.8 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.2675, allocations: 8 kB / 333.8 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006371/0.2681, allocations: 254.9 kB / 334.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.2681, allocations: 0 / 334.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.002023/0.2702, allocations: 0.526 MB / 334.6 MB, free: 11.14 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.2703, allocations: 81.11 kB / 334.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.2705, allocations: 237 kB / 334.9 MB, free: 10.8 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.2706, allocations: 25.7 kB / 334.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2707, allocations: 160.2 kB / 335.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.2708, allocations: 78.98 kB / 335.1 MB, free: 10.53 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.2708, allocations: 4 kB / 335.1 MB, free: 10.53 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2709, allocations: 330.8 kB / 335.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.2714, allocations: 164.4 kB / 335.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.2719, allocations: 199.4 kB / 335.8 MB, free: 9.832 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.2724, allocations: 182.6 kB / 336 MB, free: 9.648 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.2724, allocations: 4 kB / 336 MB, free: 9.645 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001084/0.2735, allocations: 451.8 kB / 336.5 MB, free: 9.191 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.2735, allocations: 33.7 kB / 336.5 MB, free: 9.152 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2735, allocations: 4 kB / 336.5 MB, free: 9.148 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2736, allocations: 3.953 kB / 336.5 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.2753, allocations: 311.6 kB / 336.8 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/0.2799, allocations: 3.252 MB / 340 MB, free: 5.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.2804, allocations: 63.92 kB / 340.1 MB, free: 5.258 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.2804, allocations: 15.88 kB / 340.1 MB, free: 5.242 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.0001758/0.2806, allocations: 145.7 kB / 340.3 MB, free: 5.09 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.2807, allocations: 23.7 kB / 340.3 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.2807, allocations: 30.19 kB / 340.3 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2807, allocations: 0 / 340.3 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2807, allocations: 0 / 340.3 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2808, allocations: 7.984 kB / 340.3 MB, free: 5.031 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.2811, allocations: 345.2 kB / 340.7 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2811, allocations: 4 kB / 340.7 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.2829, allocations: 307.6 kB / 341 MB, free: 4.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2829, allocations: 0 / 341 MB, free: 4.34 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.2829, allocations: 4 kB / 341 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.2874, allocations: 3.259 MB / 344.2 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2874, allocations: 4.062 kB / 344.2 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.2889, allocations: 0.5949 MB / 344.8 MB, free: 204 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.289, allocations: 104.8 kB / 344.9 MB, free: 80 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.2891, allocations: 4 kB / 344.9 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.2894, allocations: 52.02 kB / 345 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2895, allocations: 28 kB / 345 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2895, allocations: 8 kB / 345 MB, free: 15.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.2897, allocations: 168.4 kB / 345.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2897, allocations: 4 kB / 345.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.2902, allocations: 79.84 kB / 345.3 MB, free: 15.74 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.0001656/0.2903, allocations: 103.2 kB / 345.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.2929, allocations: 0.6512 MB / 346 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2929, allocations: 0 / 346 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.2948, allocations: 431.6 kB / 346.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.2952, allocations: 40.33 kB / 346.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.2968, allocations: 0.7598 MB / 347.2 MB, free: 13.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2971, allocations: 0.756 MB / 348 MB, free: 12.94 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.2973, allocations: 21.94 kB / 348 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.2973, allocations: 19.44 kB / 348 MB, free: 12.89 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2973, allocations: 4 kB / 348 MB, free: 12.89 MB / 286.1 MB Notification: Performance of Templates: time 0.007082/0.3044, allocations: 3.191 MB / 351.2 MB, free: 9.703 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: