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.8309/0.8309, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001745/0.001745, allocations: 147.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.64e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05954/0.05959, allocations: 25.18 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06397/0.1236, allocations: 35.83 MB / 241.2 MB, free: 4.539 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.124, allocations: 67.97 kB / 241.3 MB, free: 4.473 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.1346, allocations: 3.708 MB / 245 MB, free: 0.7461 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1347, allocations: 3.938 kB / 245 MB, free: 0.7422 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.1347, allocations: 4 kB / 245 MB, free: 0.7383 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.0009285/0.1356, allocations: 0.491 MB / 245.5 MB, free: 208 kB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001263/0.1358, allocations: 8.031 kB / 245.5 MB, free: 200 kB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1359, allocations: 39.55 kB / 245.5 MB, free: 160 kB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1331/0.269, allocations: 229.2 kB / 245.8 MB, free: 41.29 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.2691, allocations: 15.47 kB / 245.8 MB, free: 41.29 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.2691, allocations: 20.41 kB / 245.8 MB, free: 41.29 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.2696, allocations: 222.8 kB / 246 MB, free: 41.23 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2696, allocations: 2.531 kB / 246 MB, free: 41.23 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.2697, allocations: 8.406 kB / 246 MB, free: 41.23 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2697, allocations: 6 kB / 246 MB, free: 41.23 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.27, allocations: 144.8 kB / 246.2 MB, free: 41.23 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2715, allocations: 0.9629 MB / 247.1 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.2719, allocations: 166.2 kB / 247.3 MB, free: 40.65 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.2721, allocations: 95.08 kB / 247.4 MB, free: 40.64 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.2721, allocations: 3.312 kB / 247.4 MB, free: 40.64 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2722, allocations: 40.22 kB / 247.4 MB, free: 40.61 MB / 186.7 MB Notification: Performance of pre-optimization done (n=18): time 3.306e-06/0.2722, allocations: 0 / 247.4 MB, free: 40.61 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005029/0.2727, allocations: 205 kB / 247.6 MB, free: 40.55 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.2727, allocations: 53.36 kB / 247.7 MB, free: 40.48 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.0002371/0.273, allocations: 190.9 kB / 247.9 MB, free: 40.38 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.273, allocations: 30.58 kB / 247.9 MB, free: 40.35 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.2731, allocations: 149.1 kB / 248.1 MB, free: 40.24 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.2731, allocations: 63.67 kB / 248.1 MB, free: 40.21 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.2732, allocations: 2.188 kB / 248.1 MB, free: 40.21 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.2732, allocations: 331 kB / 248.4 MB, free: 39.89 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.2733, allocations: 45.5 kB / 248.5 MB, free: 39.89 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2734, allocations: 71.98 kB / 248.6 MB, free: 39.87 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2736, allocations: 45.7 kB / 248.6 MB, free: 39.86 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2736, allocations: 1.125 kB / 248.6 MB, free: 39.86 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003667/0.2739, allocations: 231.5 kB / 248.8 MB, free: 39.73 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.274, allocations: 7.953 kB / 248.8 MB, free: 39.73 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.274, allocations: 0.625 kB / 248.8 MB, free: 39.73 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.2743, allocations: 81.56 kB / 248.9 MB, free: 39.7 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2744, allocations: 27.12 kB / 248.9 MB, free: 39.7 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.2764, allocations: 2.969 MB / 251.9 MB, free: 36.81 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2765, allocations: 23.66 kB / 251.9 MB, free: 36.8 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2765, allocations: 3.75 kB / 251.9 MB, free: 36.8 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 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.0001157/0.2767, allocations: 120.7 kB / 252.1 MB, free: 36.68 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.2767, allocations: 17.53 kB / 252.1 MB, free: 36.67 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.2768, allocations: 24.91 kB / 252.1 MB, free: 36.65 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2768, allocations: 2.875 kB / 252.1 MB, free: 36.65 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2768, allocations: 0.7031 kB / 252.1 MB, free: 36.65 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2768, allocations: 7.578 kB / 252.1 MB, free: 36.65 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008135/0.2776, allocations: 0.5775 MB / 252.7 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2777, allocations: 2.359 kB / 252.7 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.2778, allocations: 18.47 kB / 252.7 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.278, allocations: 87.34 kB / 252.8 MB, free: 36.17 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.278, allocations: 2.406 kB / 252.8 MB, free: 36.17 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.2799, allocations: 2.886 MB / 255.7 MB, free: 33.35 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2799, allocations: 1.375 kB / 255.7 MB, free: 33.35 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.2802, allocations: 312.2 kB / 256 MB, free: 33.11 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.2803, allocations: 111.4 kB / 256.1 MB, free: 33 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.2804, allocations: 7.953 kB / 256.1 MB, free: 33 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2805, allocations: 20.77 kB / 256.1 MB, free: 32.99 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.2806, allocations: 29.75 kB / 256.2 MB, free: 32.99 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2807, allocations: 4.125 kB / 256.2 MB, free: 32.99 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.2808, allocations: 156.1 kB / 256.3 MB, free: 32.88 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2808, allocations: 0 / 256.3 MB, free: 32.88 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.2813, allocations: 72.34 kB / 256.4 MB, free: 32.87 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.0001254/0.2814, allocations: 106.9 kB / 256.5 MB, free: 32.78 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.2819, allocations: 379.1 kB / 256.9 MB, free: 32.49 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2819, allocations: 1.125 kB / 256.9 MB, free: 32.49 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.2822, allocations: 318.3 kB / 257.2 MB, free: 32.22 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.2826, allocations: 61.27 kB / 257.2 MB, free: 32.2 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.2832, allocations: 270.3 kB / 257.5 MB, free: 32.04 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.2835, allocations: 0.7547 MB / 258.2 MB, free: 31.34 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 8.798e-05/0.2836, allocations: 18.75 kB / 258.3 MB, free: 31.33 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.2837, allocations: 13.88 kB / 258.3 MB, free: 31.32 MB / 186.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2837, allocations: 5.312 kB / 258.3 MB, free: 31.32 MB / 186.7 MB Notification: Performance of Templates: time 0.007453/0.2911, allocations: 3.378 MB / 261.7 MB, free: 30.77 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)