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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001438/0.001438, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.432/1.432, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001666/0.001665, allocations: 99.52 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.765e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.09972, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.4775, allocations: 69.76 MB / 377.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.4778, allocations: 72.64 kB / 377.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02147/0.4992, allocations: 4.707 MB / 382.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4993, allocations: 0 / 382.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.4993, allocations: 8 kB / 382.2 MB, free: 2.379 MB / 266.7 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.001661/0.501, allocations: 0.6044 MB / 382.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.501, allocations: 12.03 kB / 382.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.5012, allocations: 27.62 kB / 382.8 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.5016, allocations: 255 kB / 383.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.5017, allocations: 18.12 kB / 383.1 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/0.5018, allocations: 26.12 kB / 383.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.5024, allocations: 244.7 kB / 383.4 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5025, allocations: 0 / 383.4 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.5025, allocations: 6.688 kB / 383.4 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.5025, allocations: 4 kB / 383.4 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.5031, allocations: 175.7 kB / 383.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.506, allocations: 1.022 MB / 384.6 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/0.5102, allocations: 483.1 kB / 385 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.5107, allocations: 157.1 kB / 385.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.5107, allocations: 6.375 kB / 385.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.5112, allocations: 181 kB / 385.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.604e-06/0.5112, allocations: 0 / 385.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.000691/0.5119, allocations: 210.5 kB / 385.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.512, allocations: 110.8 kB / 385.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.5124, allocations: 217 kB / 385.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.5124, allocations: 29.58 kB / 385.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.5126, allocations: 156.8 kB / 386.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.5127, allocations: 74.38 kB / 386.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.5127, allocations: 7.938 kB / 386.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5129, allocations: 330.2 kB / 386.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.5132, allocations: 78.91 kB / 386.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.5135, allocations: 122.8 kB / 386.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.5138, allocations: 101.4 kB / 386.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5138, allocations: 0 / 386.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007568/0.5146, allocations: 279.8 kB / 387 MB, free: 14.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.5146, allocations: 37.14 kB / 387.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5147, allocations: 0 / 387.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.5147, allocations: 4 kB / 387.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.5184, allocations: 330.8 kB / 387.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006348/0.5247, allocations: 3.062 MB / 390.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/0.5254, allocations: 66.77 kB / 390.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.5254, allocations: 4 kB / 390.5 MB, free: 10.43 MB / 282.7 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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete 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.0001554/0.5256, allocations: 123.5 kB / 390.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.5257, allocations: 23.77 kB / 390.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/0.5258, allocations: 36.06 kB / 390.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.5258, allocations: 4 kB / 390.7 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5258, allocations: 0 / 390.7 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.5258, allocations: 3.984 kB / 390.7 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.5276, allocations: 0.7899 MB / 391.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.5276, allocations: 0 / 391.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/0.5311, allocations: 334.7 kB / 391.8 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.5311, allocations: 0 / 391.8 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.5312, allocations: 7 kB / 391.8 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005484/0.5367, allocations: 3.056 MB / 394.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5367, allocations: 0 / 394.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/0.5377, allocations: 468.5 kB / 395.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.5379, allocations: 127.6 kB / 395.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.5379, allocations: 7.625 kB / 395.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/0.5384, allocations: 47.64 kB / 395.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.5386, allocations: 35.64 kB / 395.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.5386, allocations: 4 kB / 395.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.5389, allocations: 170.7 kB / 395.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5389, allocations: 0 / 395.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006981/0.5396, allocations: 83.22 kB / 395.8 MB, free: 5.191 MB / 282.7 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) * 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.000218/0.5398, allocations: 122.7 kB / 395.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.5428, allocations: 487.9 kB / 396.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5428, allocations: 3.938 kB / 396.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002584/0.5454, allocations: 343.3 kB / 396.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.5459, allocations: 31.05 kB / 396.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.5476, allocations: 433.5 kB / 397.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.5481, allocations: 0.7602 MB / 398 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.5483, allocations: 22.08 kB / 398 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.5484, allocations: 19.42 kB / 398 MB, free: 3.082 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5484, allocations: 0 / 398 MB, free: 3.082 MB / 282.7 MB Notification: Performance of Templates: time 0.008969/0.5574, allocations: 3.219 MB / 401.2 MB, free: 15.88 MB / 298.7 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)