Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.6921/0.6921, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001689/0.001688, allocations: 164 kB / 143.7 MB, free: 4.875 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.163e-06, allocations: 4 kB / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04344/0.04347, allocations: 25.17 MB / 198.6 MB, free: 13.94 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.174, allocations: 35.1 MB / 233.7 MB, free: 4.371 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.1742, allocations: 66.28 kB / 233.8 MB, free: 4.371 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.008449/0.1827, allocations: 3.408 MB / 237.2 MB, free: 4.109 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.1827, allocations: 7.344 kB / 237.2 MB, free: 4.109 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000605/0.1834, allocations: 493.9 kB / 237.7 MB, free: 3.707 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1834, allocations: 7.625 kB / 237.7 MB, free: 3.707 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.1835, allocations: 32.34 kB / 237.7 MB, free: 3.691 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1838, allocations: 248.9 kB / 238 MB, free: 3.469 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1838, allocations: 9.453 kB / 238 MB, free: 3.465 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1838, allocations: 11.47 kB / 238 MB, free: 3.465 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002612/0.1841, allocations: 130.3 kB / 238.1 MB, free: 3.465 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1844, allocations: 192.4 kB / 238.3 MB, free: 3.402 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1844, allocations: 3.219 kB / 238.3 MB, free: 3.402 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1844, allocations: 0 / 238.3 MB, free: 3.402 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1845, allocations: 3.188 kB / 238.3 MB, free: 3.402 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.1857, allocations: 0.9259 MB / 239.2 MB, free: 2.848 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1859, allocations: 131.5 kB / 239.4 MB, free: 2.82 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.186, allocations: 87.95 kB / 239.4 MB, free: 2.812 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.1861, allocations: 5.75 kB / 239.5 MB, free: 2.812 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.1861, allocations: 32.25 kB / 239.5 MB, free: 2.773 MB / 170.7 MB Notification: Performance of pre-optimization done (n=18): time 1.454e-05/0.1861, allocations: 4 kB / 239.5 MB, free: 2.77 MB / 170.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004665/0.1866, allocations: 201.5 kB / 239.7 MB, free: 2.703 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.1866, allocations: 56.03 kB / 239.7 MB, free: 2.641 MB / 170.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1868, allocations: 170.6 kB / 239.9 MB, free: 2.543 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1868, allocations: 26.45 kB / 239.9 MB, free: 2.512 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.1869, allocations: 134.3 kB / 240.1 MB, free: 2.402 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.1869, allocations: 54.38 kB / 240.1 MB, free: 2.367 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-06/0.1869, allocations: 0 / 240.1 MB, free: 2.367 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.187, allocations: 335.2 kB / 240.4 MB, free: 2.047 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.1871, allocations: 44.09 kB / 240.5 MB, free: 2.043 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.882e-05/0.1872, allocations: 65.19 kB / 240.5 MB, free: 2.027 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.1873, allocations: 48.27 kB / 240.6 MB, free: 2.027 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1873, allocations: 3.938 kB / 240.6 MB, free: 2.023 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003135/0.1876, allocations: 210.4 kB / 240.8 MB, free: 1.957 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1876, allocations: 7.844 kB / 240.8 MB, free: 1.957 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1876, allocations: 0 / 240.8 MB, free: 1.957 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.1879, allocations: 71.41 kB / 240.9 MB, free: 1.941 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.188, allocations: 25.86 kB / 240.9 MB, free: 1.938 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.1899, allocations: 2.661 MB / 243.6 MB, free: 15.51 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.19, allocations: 13.08 kB / 243.6 MB, free: 15.5 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.19, allocations: 7.844 kB / 243.6 MB, free: 15.5 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: IdealThyristor1.off:DISCRETE(start = true fixed = false ) "Switching state" type: Boolean Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealThyristor1.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealGTOThyristor1.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.IdealThyristor1.off,IdealThyristor1.off,BooleanStep1.y,IdealGTOThyristor1.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.1902, allocations: 119.5 kB / 243.7 MB, free: 15.38 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.1902, allocations: 19.44 kB / 243.7 MB, free: 15.38 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.1903, allocations: 21.8 kB / 243.7 MB, free: 15.37 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1903, allocations: 0 / 243.7 MB, free: 15.37 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.1903, allocations: 0 / 243.7 MB, free: 15.37 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1903, allocations: 1.359 kB / 243.7 MB, free: 15.37 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.1909, allocations: 0.5247 MB / 244.3 MB, free: 15.07 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1909, allocations: 7.922 kB / 244.3 MB, free: 15.06 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.862e-05/0.191, allocations: 22.88 kB / 244.3 MB, free: 15.06 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.1913, allocations: 72.64 kB / 244.4 MB, free: 15.04 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1913, allocations: 12.78 kB / 244.4 MB, free: 15.04 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.1933, allocations: 2.655 MB / 247 MB, free: 12.62 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1933, allocations: 4.125 kB / 247 MB, free: 12.62 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003081/0.1936, allocations: 293.7 kB / 247.3 MB, free: 12.43 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.1937, allocations: 109.6 kB / 247.4 MB, free: 12.33 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1938, allocations: 1.031 kB / 247.4 MB, free: 12.33 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.1939, allocations: 18.11 kB / 247.5 MB, free: 12.32 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.194, allocations: 21.27 kB / 247.5 MB, free: 12.32 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.194, allocations: 4.5 kB / 247.5 MB, free: 12.32 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0001122/0.1942, allocations: 143.5 kB / 247.6 MB, free: 12.24 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.1945, allocations: 64.94 kB / 247.7 MB, free: 12.23 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (IdealThyristor1.off,BooleanStep1.y,IdealGTOThyristor1.off) * Number of discrete states: 1 (IdealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.1946, allocations: 103.5 kB / 247.8 MB, free: 12.14 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.195, allocations: 339.1 kB / 248.1 MB, free: 11.93 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.195, allocations: 0 / 248.1 MB, free: 11.93 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.1953, allocations: 269.7 kB / 248.4 MB, free: 11.73 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1957, allocations: 42.3 kB / 248.4 MB, free: 11.72 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.1963, allocations: 257 kB / 248.7 MB, free: 11.58 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.1966, allocations: 0.7741 MB / 249.4 MB, free: 10.87 MB / 186.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1966, allocations: 3.875 kB / 249.5 MB, free: 10.87 MB / 186.7 MB Notification: Performance of Templates: time 0.00597/0.2026, allocations: 3.111 MB / 252.6 MB, free: 9.66 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1)