Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001553/0.001553, allocations: 192 kB / 8.139 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.194/1.194, allocations: 194.2 MB / 202.8 MB, free: 8.762 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001774/0.001774, allocations: 117.9 kB / 247.7 MB, free: 6.309 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.824e-06/7.855e-06, allocations: 3.938 kB / 297.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07646, allocations: 44.49 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.2825, allocations: 74.05 MB / 416.1 MB, free: 21.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.2827, allocations: 74.77 kB / 416.2 MB, free: 21.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01338/0.2961, allocations: 4.368 MB / 420.5 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.2961, allocations: 4 kB / 420.5 MB, free: 17.4 MB / 314.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.001085/0.2972, allocations: 0.6275 MB / 421.2 MB, free: 16.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2973, allocations: 8.031 kB / 421.2 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.2973, allocations: 31.62 kB / 421.2 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2976, allocations: 251 kB / 421.5 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2976, allocations: 12 kB / 421.5 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.2977, allocations: 12 kB / 421.5 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003084/0.298, allocations: 168.8 kB / 421.6 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.2983, allocations: 216.4 kB / 421.9 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2984, allocations: 0 / 421.9 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.2984, allocations: 0 / 421.9 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2984, allocations: 4 kB / 421.9 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.3001, allocations: 0.9924 MB / 422.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3003, allocations: 106.7 kB / 423 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.3006, allocations: 151.6 kB / 423.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.3007, allocations: 0 / 423.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.3009, allocations: 170.8 kB / 423.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.3009, allocations: 0 / 423.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003771/0.3013, allocations: 196.7 kB / 423.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3013, allocations: 106.8 kB / 423.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3015, allocations: 191.8 kB / 423.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3015, allocations: 25.7 kB / 423.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.3016, allocations: 138.9 kB / 423.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.3016, allocations: 69.75 kB / 424 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.3017, allocations: 0 / 424 MB, free: 14.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.3017, allocations: 332.8 kB / 424.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3019, allocations: 80.06 kB / 424.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.302, allocations: 106.6 kB / 424.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.3021, allocations: 74.41 kB / 424.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3022, allocations: 0 / 424.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003702/0.3025, allocations: 235.2 kB / 424.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3026, allocations: 4.094 kB / 424.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3026, allocations: 8 kB / 424.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3026, allocations: 0 / 424.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/0.3053, allocations: 366.9 kB / 425.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.3097, allocations: 3.012 MB / 428.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.3102, allocations: 63.89 kB / 428.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.3102, allocations: 15.25 kB / 428.3 MB, free: 10.05 MB / 314.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 9.915e-05/0.3103, allocations: 120.6 kB / 428.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3104, allocations: 20.59 kB / 428.4 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.3104, allocations: 29.14 kB / 428.4 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3104, allocations: 0 / 428.4 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3104, allocations: 4 kB / 428.4 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3105, allocations: 0 / 428.4 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3115, allocations: 0.7446 MB / 429.2 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3116, allocations: 0 / 429.2 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/0.3142, allocations: 355.5 kB / 429.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3142, allocations: 0 / 429.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.3143, allocations: 7.984 kB / 429.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/0.3184, allocations: 3.008 MB / 432.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3185, allocations: 0 / 432.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005375/0.319, allocations: 446.2 kB / 433 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.3191, allocations: 99.88 kB / 433.1 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.3191, allocations: 4 kB / 433.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.3196, allocations: 52.02 kB / 433.1 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.3197, allocations: 31.77 kB / 433.1 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.3197, allocations: 10.44 kB / 433.2 MB, free: 5.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001113/0.3198, allocations: 152.7 kB / 433.3 MB, free: 5.055 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.3203, allocations: 75.09 kB / 433.4 MB, free: 4.984 MB / 314.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.0001443/0.3205, allocations: 119.1 kB / 433.5 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003648/0.3241, allocations: 0.5897 MB / 434.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3242, allocations: 4.125 kB / 434.1 MB, free: 4.324 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.3276, allocations: 486.8 kB / 434.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.328, allocations: 32.19 kB / 434.6 MB, free: 3.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3295, allocations: 434 kB / 435 MB, free: 3.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.3298, allocations: 0.7813 MB / 435.8 MB, free: 2.648 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3298, allocations: 0 / 435.8 MB, free: 2.648 MB / 314.7 MB Notification: Performance of Templates: time 0.006248/0.3361, allocations: 3.267 MB / 439.1 MB, free: 15.45 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)