Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.00115/0.00115, allocations: 108 kB / 15.61 MB, free: 148 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.001165/0.001165, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.457/1.457, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001105/0.001105, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2519, allocations: 46.63 MB / 325.3 MB, free: 2.07 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003771/0.2557, allocations: 2.716 MB / 328 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.257, allocations: 0.7359 MB / 328.8 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2572, allocations: 3.469 kB / 328.8 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.2574, allocations: 39.3 kB / 328.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2575, allocations: 84.36 kB / 328.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.2579, allocations: 110.5 kB / 329 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.2584, allocations: 376.9 kB / 329.4 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.2586, allocations: 85.62 kB / 329.4 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.2589, allocations: 146.4 kB / 329.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.2591, allocations: 167.7 kB / 329.7 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.2592, allocations: 33.44 kB / 329.8 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.238e-05/0.2593, allocations: 32.53 kB / 329.8 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.2593, allocations: 70.59 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.2595, allocations: 155.4 kB / 330 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.2599, allocations: 356 kB / 330.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.26, allocations: 1.031 kB / 330.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.26, allocations: 7.938 kB / 330.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.26, allocations: 0 / 330.4 MB, free: 14.19 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.001621/0.2616, allocations: 0.6738 MB / 331.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2617, allocations: 8.844 kB / 331.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.2617, allocations: 32.12 kB / 331.1 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.2621, allocations: 267.2 kB / 331.4 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2621, allocations: 18.06 kB / 331.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.2622, allocations: 17.59 kB / 331.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007696/0.2629, allocations: 310.7 kB / 331.7 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.263, allocations: 0 / 331.7 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.263, allocations: 13.48 kB / 331.7 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.263, allocations: 9.656 kB / 331.7 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009455/0.264, allocations: 295.7 kB / 332 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.2657, allocations: 0.9713 MB / 333 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.2686, allocations: 0.4904 MB / 333.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/0.2692, allocations: 216.7 kB / 333.7 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.2692, allocations: 0 / 333.7 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007387/0.27, allocations: 237.7 kB / 333.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.27, allocations: 0 / 333.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001558/0.2716, allocations: 461.4 kB / 334.4 MB, free: 10.79 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.2716, allocations: 110.8 kB / 334.5 MB, free: 10.65 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.2719, allocations: 233 kB / 334.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2719, allocations: 29.7 kB / 334.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.272, allocations: 160.2 kB / 334.9 MB, free: 10.22 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.2721, allocations: 70.98 kB / 335 MB, free: 10.15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.2722, allocations: 49.88 kB / 335 MB, free: 10.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.2723, allocations: 334.8 kB / 335.3 MB, free: 9.758 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.2727, allocations: 140.4 kB / 335.5 MB, free: 9.621 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.2732, allocations: 180.2 kB / 335.6 MB, free: 9.434 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/0.2741, allocations: 316 kB / 336 MB, free: 9.109 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2741, allocations: 4 kB / 336 MB, free: 9.105 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001059/0.2752, allocations: 398.8 kB / 336.3 MB, free: 8.703 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.2752, allocations: 41.62 kB / 336.4 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2752, allocations: 0 / 336.4 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2753, allocations: 4 kB / 336.4 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.2769, allocations: 243.6 kB / 336.6 MB, free: 8.414 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.2814, allocations: 3.4 MB / 340 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.2818, allocations: 51.92 kB / 340.1 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.2819, allocations: 8 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.000166/0.282, allocations: 142.4 kB / 340.2 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.2821, allocations: 23.72 kB / 340.3 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.2822, allocations: 30.17 kB / 340.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2822, allocations: 4 kB / 340.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2822, allocations: 4 kB / 340.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2822, allocations: 0 / 340.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.284, allocations: 0.8932 MB / 341.2 MB, free: 3.512 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.284, allocations: 8.062 kB / 341.2 MB, free: 3.504 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.2856, allocations: 227.7 kB / 341.4 MB, free: 3.281 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.2856, allocations: 4 kB / 341.4 MB, free: 3.277 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.2857, allocations: 3.984 kB / 341.4 MB, free: 3.273 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00457/0.2903, allocations: 3.42 MB / 344.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.2903, allocations: 4.031 kB / 344.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.2918, allocations: 0.5905 MB / 345.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.292, allocations: 96.77 kB / 345.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.292, allocations: 11.94 kB / 345.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.2924, allocations: 44.02 kB / 345.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.2925, allocations: 31.89 kB / 345.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.2925, allocations: 8 kB / 345.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.2927, allocations: 168.5 kB / 345.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2927, allocations: 4 kB / 345.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005/0.2932, allocations: 79.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.0001485/0.2934, allocations: 111.2 kB / 346 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.2959, allocations: 0.5418 MB / 346.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.2959, allocations: 0 / 346.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.2978, allocations: 351.8 kB / 346.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.2983, allocations: 52.28 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.001856/0.3002, allocations: 0.6859 MB / 347.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3005, allocations: 0.744 MB / 348.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.3007, allocations: 29.94 kB / 348.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.3008, allocations: 23.44 kB / 348.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3008, allocations: 0 / 348.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of Templates: time 0.009176/0.31, allocations: 3.727 MB / 352.1 MB, free: 8.172 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)