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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7533/0.7533, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001718/0.001718, allocations: 138.7 kB / 151.8 MB, free: 4.977 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002804, allocations: 4 kB / 184.9 MB, free: 3.914 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 25.16 MB / 210 MB, free: 29.7 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04333/0.1863, allocations: 35.94 MB / 246 MB, free: 13.88 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.1866, allocations: 71.95 kB / 246.1 MB, free: 13.81 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00923/0.1958, allocations: 3.714 MB / 249.8 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1958, allocations: 0 / 249.8 MB, free: 10.11 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1959, allocations: 4 kB / 249.8 MB, free: 10.11 MB / 186.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.0006619/0.1965, allocations: 0.5073 MB / 250.3 MB, free: 9.551 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1966, allocations: 8.031 kB / 250.3 MB, free: 9.543 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.1966, allocations: 31.5 kB / 250.3 MB, free: 9.516 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1969, allocations: 238.6 kB / 250.5 MB, free: 9.242 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1969, allocations: 20.44 kB / 250.6 MB, free: 9.223 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.197, allocations: 16 kB / 250.6 MB, free: 9.207 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.1974, allocations: 238.6 kB / 250.8 MB, free: 8.961 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1974, allocations: 0 / 250.8 MB, free: 8.961 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.1974, allocations: 12 kB / 250.8 MB, free: 8.949 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1974, allocations: 7.953 kB / 250.8 MB, free: 8.941 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.1978, allocations: 165.7 kB / 251 MB, free: 8.781 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.1991, allocations: 0.9633 MB / 252 MB, free: 7.742 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1994, allocations: 174.5 kB / 252.1 MB, free: 7.562 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1994, allocations: 4 kB / 252.1 MB, free: 7.559 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1995, allocations: 36.81 kB / 252.2 MB, free: 7.516 MB / 186.7 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1995, allocations: 0 / 252.2 MB, free: 7.516 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.001064/0.2006, allocations: 0.507 MB / 252.7 MB, free: 6.961 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.2006, allocations: 59.34 kB / 252.7 MB, free: 6.891 MB / 186.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.0002501/0.2009, allocations: 189.1 kB / 252.9 MB, free: 6.703 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2009, allocations: 29.7 kB / 253 MB, free: 6.668 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.201, allocations: 148.2 kB / 253.1 MB, free: 6.52 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.201, allocations: 59.09 kB / 253.2 MB, free: 6.461 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.2011, allocations: 8 kB / 253.2 MB, free: 6.453 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2012, allocations: 338.8 kB / 253.5 MB, free: 6.113 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.2013, allocations: 52.36 kB / 253.5 MB, free: 6.059 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2015, allocations: 82.42 kB / 253.6 MB, free: 5.973 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2016, allocations: 58.25 kB / 253.7 MB, free: 5.918 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2016, allocations: 0 / 253.7 MB, free: 5.918 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004375/0.2021, allocations: 257.2 kB / 253.9 MB, free: 5.656 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2021, allocations: 4 kB / 253.9 MB, free: 5.652 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2021, allocations: 0 / 253.9 MB, free: 5.652 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.2024, allocations: 85.69 kB / 254 MB, free: 5.562 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2025, allocations: 19.94 kB / 254 MB, free: 5.543 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.2049, allocations: 3.002 MB / 257 MB, free: 2.27 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.2051, allocations: 15.83 kB / 257.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.2051, allocations: 8 kB / 257.1 MB, free: 2.246 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: IdealThyristor1.off:DISCRETE(start = true fixed = true ) "Switching state" type: Boolean 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 () * Number of clocked 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.0001871/0.2053, allocations: 132.8 kB / 257.2 MB, free: 2.109 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.2054, allocations: 27.47 kB / 257.2 MB, free: 2.086 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.2054, allocations: 29.92 kB / 257.2 MB, free: 2.055 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2054, allocations: 3.953 kB / 257.3 MB, free: 2.051 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2054, allocations: 0 / 257.3 MB, free: 2.051 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2054, allocations: 0 / 257.3 MB, free: 2.051 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.2058, allocations: 293.5 kB / 257.5 MB, free: 1.715 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2058, allocations: 5.297 kB / 257.5 MB, free: 1.711 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.2059, allocations: 15.94 kB / 257.6 MB, free: 1.695 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.2061, allocations: 81.66 kB / 257.6 MB, free: 1.609 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2061, allocations: 0 / 257.6 MB, free: 1.609 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.2084, allocations: 2.925 MB / 260.6 MB, free: 14.42 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2084, allocations: 0 / 260.6 MB, free: 14.42 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.2089, allocations: 340.8 kB / 260.9 MB, free: 14.07 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.209, allocations: 112.8 kB / 261 MB, free: 13.94 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.209, allocations: 3.812 kB / 261 MB, free: 13.94 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2092, allocations: 20 kB / 261 MB, free: 13.92 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.2093, allocations: 23.95 kB / 261.1 MB, free: 13.89 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.2093, allocations: 4 kB / 261.1 MB, free: 13.89 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.2094, allocations: 159.2 kB / 261.2 MB, free: 13.73 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2094, allocations: 0 / 261.2 MB, free: 13.73 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004403/0.2099, allocations: 75.86 kB / 261.3 MB, free: 13.66 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (IdealThyristor1.off,BooleanStep1.y,IdealGTOThyristor1.off) * Number of discrete states: 1 (IdealThyristor1.off) * Number of clocked states: 0 () * 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.0001229/0.21, allocations: 103.2 kB / 261.4 MB, free: 13.55 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.000602/0.2106, allocations: 408.8 kB / 261.8 MB, free: 13.12 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2106, allocations: 0 / 261.8 MB, free: 13.12 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.211, allocations: 333.3 kB / 262.1 MB, free: 12.77 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.2113, allocations: 54.27 kB / 262.2 MB, free: 12.72 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.2121, allocations: 0.5352 MB / 262.7 MB, free: 12.16 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2125, allocations: 0.7587 MB / 263.5 MB, free: 11.38 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 8.012e-05/0.2126, allocations: 17.55 kB / 263.5 MB, free: 11.36 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.2126, allocations: 11.44 kB / 263.5 MB, free: 11.35 MB / 202.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2126, allocations: 0 / 263.5 MB, free: 11.35 MB / 202.7 MB Notification: Performance of Templates: time 0.006577/0.2192, allocations: 3.35 MB / 266.8 MB, free: 8.039 MB / 202.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)