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.7733/0.7733, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001636/0.001636, allocations: 163.4 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.55e-05, allocations: 3.938 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04586/0.04589, allocations: 25.17 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04825/0.09419, allocations: 35.18 MB / 234.2 MB, free: 10.46 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.0944, allocations: 63.97 kB / 234.3 MB, free: 10.4 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009456/0.1039, allocations: 3.675 MB / 237.9 MB, free: 6.703 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1039, allocations: 0 / 237.9 MB, free: 6.703 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.1039, allocations: 8 kB / 238 MB, free: 6.695 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.0007302/0.1047, allocations: 490.9 kB / 238.4 MB, free: 6.172 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.1047, allocations: 8.031 kB / 238.4 MB, free: 6.164 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.1048, allocations: 31.62 kB / 238.5 MB, free: 6.133 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.1052, allocations: 238.4 kB / 238.7 MB, free: 5.859 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.1053, allocations: 8 kB / 238.7 MB, free: 5.852 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.1053, allocations: 12 kB / 238.7 MB, free: 5.84 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003052/0.1056, allocations: 132.9 kB / 238.9 MB, free: 5.711 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.106, allocations: 193.8 kB / 239 MB, free: 5.508 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.106, allocations: 0 / 239 MB, free: 5.508 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.106, allocations: 7.953 kB / 239 MB, free: 5.5 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.106, allocations: 4 kB / 239.1 MB, free: 5.496 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.1075, allocations: 0.9052 MB / 240 MB, free: 4.527 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.1078, allocations: 166.4 kB / 240.1 MB, free: 4.355 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.108, allocations: 92.84 kB / 240.2 MB, free: 4.262 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1081, allocations: 0 / 240.2 MB, free: 4.262 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1081, allocations: 34.56 kB / 240.2 MB, free: 4.219 MB / 186.7 MB Notification: Performance of pre-optimization done (n=18): time 2.665e-06/0.1081, allocations: 0 / 240.2 MB, free: 4.219 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.000506/0.1086, allocations: 193.8 kB / 240.4 MB, free: 4.02 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.1087, allocations: 59.36 kB / 240.5 MB, free: 3.949 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.000236/0.1089, allocations: 183 kB / 240.7 MB, free: 3.762 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1089, allocations: 29.64 kB / 240.7 MB, free: 3.727 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.109, allocations: 148.3 kB / 240.8 MB, free: 3.578 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.1091, allocations: 51.2 kB / 240.9 MB, free: 3.527 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.1091, allocations: 4 kB / 240.9 MB, free: 3.523 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1093, allocations: 330.8 kB / 241.2 MB, free: 3.191 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.1094, allocations: 40.38 kB / 241.3 MB, free: 3.148 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.23e-05/0.1095, allocations: 67.22 kB / 241.3 MB, free: 3.078 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.1096, allocations: 45.84 kB / 241.4 MB, free: 3.035 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1096, allocations: 0 / 241.4 MB, free: 3.035 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003471/0.1099, allocations: 205.8 kB / 241.6 MB, free: 2.824 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1099, allocations: 7.984 kB / 241.6 MB, free: 2.816 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.11, allocations: 0 / 241.6 MB, free: 2.816 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/0.1103, allocations: 81.66 kB / 241.7 MB, free: 2.73 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1104, allocations: 19.98 kB / 241.7 MB, free: 2.711 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1126/0.223, allocations: 2.859 MB / 244.5 MB, free: 42.09 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.2233, allocations: 13.27 kB / 244.6 MB, free: 42.09 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.2233, allocations: 6.75 kB / 244.6 MB, free: 42.09 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.000174/0.2235, allocations: 110.9 kB / 244.7 MB, free: 41.98 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.2235, allocations: 16.78 kB / 244.7 MB, free: 41.98 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.2236, allocations: 24.83 kB / 244.7 MB, free: 41.98 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2236, allocations: 9.344 kB / 244.7 MB, free: 41.98 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2236, allocations: 3.438 kB / 244.7 MB, free: 41.98 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2236, allocations: 1.172 kB / 244.7 MB, free: 41.98 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.2244, allocations: 0.5154 MB / 245.2 MB, free: 41.7 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2244, allocations: 0 / 245.2 MB, free: 41.7 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.2245, allocations: 24.69 kB / 245.3 MB, free: 41.7 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.2247, allocations: 74.8 kB / 245.3 MB, free: 41.68 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2247, allocations: 1.25 kB / 245.3 MB, free: 41.68 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.2264, allocations: 2.786 MB / 248.1 MB, free: 39.24 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.2265, allocations: 5.609 kB / 248.1 MB, free: 39.24 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.2268, allocations: 295.6 kB / 248.4 MB, free: 39.06 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.605e-05/0.2269, allocations: 107.7 kB / 248.5 MB, free: 38.96 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.227, allocations: 1.719 kB / 248.5 MB, free: 38.96 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.2271, allocations: 16.86 kB / 248.5 MB, free: 38.96 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2272, allocations: 29.31 kB / 248.6 MB, free: 38.96 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2273, allocations: 5.672 kB / 248.6 MB, free: 38.96 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.2274, allocations: 140.2 kB / 248.7 MB, free: 38.88 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2274, allocations: 1.062 kB / 248.7 MB, free: 38.88 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.2279, allocations: 68.89 kB / 248.8 MB, free: 38.88 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.0001155/0.228, allocations: 101.5 kB / 248.9 MB, free: 38.79 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.2284, allocations: 356.5 kB / 249.2 MB, free: 38.58 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2285, allocations: 0 / 249.2 MB, free: 38.58 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.2287, allocations: 294.3 kB / 249.5 MB, free: 38.38 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.2291, allocations: 50 kB / 249.6 MB, free: 38.37 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.2297, allocations: 259.4 kB / 249.8 MB, free: 38.24 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.2299, allocations: 0.759 MB / 250.6 MB, free: 37.54 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 9.224e-05/0.23, allocations: 14.98 kB / 250.6 MB, free: 37.54 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.2301, allocations: 19.05 kB / 250.6 MB, free: 37.53 MB / 186.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2301, allocations: 0 / 250.6 MB, free: 37.53 MB / 186.7 MB Notification: Performance of Templates: time 0.007231/0.2373, allocations: 2.938 MB / 253.5 MB, free: 37.36 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)