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.0009441/0.000944, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007974/0.007974, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.487/1.487, allocations: 205.4 MB / 222.5 MB, free: 5.801 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.0005276/0.0005278, allocations: 16.33 kB / 279.5 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2465, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002481/0.249, allocations: 2.388 MB / 329.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2503, allocations: 0.7297 MB / 330.1 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2505, allocations: 3 kB / 330.1 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.2506, allocations: 31.16 kB / 330.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.2508, allocations: 67.78 kB / 330.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.2511, allocations: 99.2 kB / 330.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.2516, allocations: 354.8 kB / 330.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.2518, allocations: 70.28 kB / 330.8 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.252, allocations: 128.9 kB / 330.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2523, allocations: 152.3 kB / 331 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.2523, allocations: 16.97 kB / 331 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.2524, allocations: 17 kB / 331.1 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.2525, allocations: 58.34 kB / 331.1 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.2527, allocations: 159.4 kB / 331.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.2531, allocations: 337.5 kB / 331.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2531, allocations: 1.031 kB / 331.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2531, allocations: 3.938 kB / 331.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2531, allocations: 4 kB / 331.6 MB, free: 13.89 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.001561/0.2547, allocations: 0.6577 MB / 332.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2547, allocations: 9.156 kB / 332.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.2548, allocations: 31.72 kB / 332.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.2552, allocations: 271.4 kB / 332.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.2552, allocations: 17.23 kB / 332.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.2553, allocations: 21.22 kB / 332.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007884/0.2561, allocations: 335.4 kB / 332.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2561, allocations: 0 / 332.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.2561, allocations: 10.44 kB / 333 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2561, allocations: 4.812 kB / 333 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009574/0.2571, allocations: 339.2 kB / 333.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.2589, allocations: 1.001 MB / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.2619, allocations: 0.5964 MB / 334.9 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.2626, allocations: 248.7 kB / 335.1 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.2626, allocations: 0 / 335.1 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006858/0.2633, allocations: 257.7 kB / 335.4 MB, free: 10.84 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.2633, allocations: 4 kB / 335.4 MB, free: 10.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001613/0.2649, allocations: 0.5209 MB / 335.9 MB, free: 10.31 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.265, allocations: 110.8 kB / 336 MB, free: 10.18 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.2653, allocations: 233 kB / 336.2 MB, free: 9.938 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.2653, allocations: 33.7 kB / 336.3 MB, free: 9.898 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2654, allocations: 160.2 kB / 336.4 MB, free: 9.738 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.2655, allocations: 67 kB / 336.5 MB, free: 9.672 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.2656, allocations: 29.7 kB / 336.5 MB, free: 9.637 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2657, allocations: 330.8 kB / 336.9 MB, free: 9.305 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.2662, allocations: 164.4 kB / 337 MB, free: 9.145 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.2667, allocations: 204.2 kB / 337.2 MB, free: 8.934 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/0.2677, allocations: 360 kB / 337.6 MB, free: 8.566 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2677, allocations: 0 / 337.6 MB, free: 8.566 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001112/0.2688, allocations: 454.8 kB / 338 MB, free: 8.109 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.2689, allocations: 33.64 kB / 338 MB, free: 8.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2689, allocations: 7.938 kB / 338 MB, free: 8.062 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2689, allocations: 0 / 338 MB, free: 8.062 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.2707, allocations: 311.6 kB / 338.4 MB, free: 7.758 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004994/0.2757, allocations: 3.216 MB / 341.6 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.2762, allocations: 63.95 kB / 341.6 MB, free: 4.211 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.2762, allocations: 8 kB / 341.6 MB, free: 4.203 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.0002128/0.2764, allocations: 137.8 kB / 341.8 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.2765, allocations: 23.72 kB / 341.8 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/0.2766, allocations: 34.16 kB / 341.8 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2766, allocations: 11.88 kB / 341.8 MB, free: 3.992 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2766, allocations: 4 kB / 341.8 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2766, allocations: 0 / 341.8 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.2786, allocations: 0.9518 MB / 342.8 MB, free: 2.973 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2786, allocations: 4 kB / 342.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.2803, allocations: 303.8 kB / 343.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2803, allocations: 0 / 343.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.2804, allocations: 11.98 kB / 343.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004687/0.2851, allocations: 3.228 MB / 346.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2851, allocations: 4.062 kB / 346.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.2867, allocations: 0.6607 MB / 347 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2868, allocations: 108.7 kB / 347.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.2868, allocations: 11.98 kB / 347.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.2872, allocations: 48.02 kB / 347.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.2873, allocations: 27.97 kB / 347.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.2873, allocations: 4 kB / 347.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.2875, allocations: 172.5 kB / 347.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2875, allocations: 0 / 347.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.288, allocations: 79.84 kB / 347.4 MB, free: 14.02 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.0002466/0.2883, allocations: 115.2 kB / 347.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.2908, allocations: 0.6396 MB / 348.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2908, allocations: 8 kB / 348.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.2928, allocations: 435.7 kB / 348.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.2933, allocations: 48.34 kB / 348.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.295, allocations: 0.8434 MB / 349.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.2954, allocations: 0.7482 MB / 350.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.2955, allocations: 21.95 kB / 350.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.2956, allocations: 19.44 kB / 350.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2956, allocations: 0 / 350.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of Templates: time 0.007007/0.3026, allocations: 3.403 MB / 353.7 MB, free: 7.676 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)