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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003582/0.003582, allocations: 174.8 kB / 7.45 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.325/1.325, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.001819/0.001819, allocations: 108.6 kB / 217.7 MB, free: 8.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.522e-06, allocations: 0 / 261.7 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.0948, allocations: 38.76 MB / 300.5 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2931/0.388, allocations: 69.03 MB / 369.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.3884, allocations: 64.34 kB / 369.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.01508/0.4035, allocations: 4.438 MB / 374 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.4036, allocations: 4 kB / 374 MB, free: 11.8 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.001462/0.4051, allocations: 0.6239 MB / 374.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.4051, allocations: 8.031 kB / 374.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.4053, allocations: 31.62 kB / 374.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.4057, allocations: 259.8 kB / 374.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.4058, allocations: 4 kB / 375 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.4058, allocations: 22.8 kB / 375 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003801/0.4062, allocations: 164.4 kB / 375.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.4066, allocations: 220.4 kB / 375.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4067, allocations: 0 / 375.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.4067, allocations: 0 / 375.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4067, allocations: 4 kB / 375.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.409, allocations: 0.9942 MB / 376.3 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.4093, allocations: 112.5 kB / 376.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.4096, allocations: 150.6 kB / 376.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.4097, allocations: 4 kB / 376.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.41, allocations: 163.8 kB / 376.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.346e-06/0.41, allocations: 0 / 376.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.000507/0.4105, allocations: 198.1 kB / 377 MB, free: 9.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.4106, allocations: 106.8 kB / 377.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.4109, allocations: 194.5 kB / 377.3 MB, free: 8.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.411, allocations: 29.7 kB / 377.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4111, allocations: 130.1 kB / 377.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.4112, allocations: 73 kB / 377.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.4112, allocations: 4 kB / 377.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4114, allocations: 337.2 kB / 377.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.4116, allocations: 80.75 kB / 377.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.4118, allocations: 102.2 kB / 378 MB, free: 8.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.4119, allocations: 84 kB / 378.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4119, allocations: 0.75 kB / 378.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004415/0.4124, allocations: 228.1 kB / 378.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4124, allocations: 12 kB / 378.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4124, allocations: 0 / 378.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4125, allocations: 4 kB / 378.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.4152, allocations: 363.2 kB / 378.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.4208, allocations: 3.005 MB / 381.7 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.4213, allocations: 63.92 kB / 381.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.4214, allocations: 10.19 kB / 381.7 MB, free: 4.402 MB / 266.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.0001617/0.4216, allocations: 120.3 kB / 381.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.4217, allocations: 23.72 kB / 381.9 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.003e-05/0.4217, allocations: 27.8 kB / 381.9 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4218, allocations: 4 kB / 381.9 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4218, allocations: 0 / 381.9 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.4218, allocations: 3.984 kB / 381.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.4232, allocations: 0.7534 MB / 382.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4232, allocations: 0 / 382.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/0.4258, allocations: 347.8 kB / 383 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.4258, allocations: 11.97 kB / 383 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.4258, allocations: 0 / 383 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004948/0.4308, allocations: 3.001 MB / 386 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4308, allocations: 0 / 386 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000694/0.4315, allocations: 445 kB / 386.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.4317, allocations: 123.3 kB / 386.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.4318, allocations: 0 / 386.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.4323, allocations: 60.02 kB / 386.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4324, allocations: 26.39 kB / 386.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4325, allocations: 7.938 kB / 386.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001745/0.4326, allocations: 159.9 kB / 386.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005404/0.4332, allocations: 71.84 kB / 386.9 MB, free: 15.3 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.0002248/0.4334, allocations: 119.2 kB / 387 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003554/0.437, allocations: 0.5852 MB / 387.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.437, allocations: 4.125 kB / 387.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0032/0.4402, allocations: 491.1 kB / 388.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.4406, allocations: 26.08 kB / 388.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.4424, allocations: 429.1 kB / 388.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005685/0.4429, allocations: 0.7774 MB / 389.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.402e-06/0.4429, allocations: 0 / 389.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of Templates: time 0.008644/0.4516, allocations: 3.262 MB / 392.6 MB, free: 9.727 MB / 282.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)