Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6555/0.6555, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001606/0.001606, allocations: 138.7 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 8 kB / 184.9 MB, free: 3.906 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1644, allocations: 25.15 MB / 210 MB, free: 29.79 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05711/0.2216, allocations: 36.63 MB / 246.7 MB, free: 13.19 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.2219, allocations: 63.95 kB / 246.7 MB, free: 13.13 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.2387, allocations: 4.197 MB / 250.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.2388, allocations: 0 / 250.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.2388, allocations: 8 kB / 250.9 MB, free: 8.938 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001508/0.2403, allocations: 0.5854 MB / 251.5 MB, free: 8.297 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2404, allocations: 8.031 kB / 251.5 MB, free: 8.289 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2405, allocations: 31.7 kB / 251.6 MB, free: 8.258 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.2409, allocations: 239.7 kB / 251.8 MB, free: 7.984 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.241, allocations: 12.38 kB / 251.8 MB, free: 7.973 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.241, allocations: 20.94 kB / 251.8 MB, free: 7.953 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.2419, allocations: 268.2 kB / 252.1 MB, free: 7.688 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2419, allocations: 0 / 252.1 MB, free: 7.688 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.242, allocations: 19.94 kB / 252.1 MB, free: 7.668 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.242, allocations: 4 kB / 252.1 MB, free: 7.664 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.2432, allocations: 298.7 kB / 252.4 MB, free: 7.375 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.2454, allocations: 0.8682 MB / 253.3 MB, free: 6.449 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/0.2501, allocations: 0.6153 MB / 253.9 MB, free: 5.824 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.2501, allocations: 7.125 kB / 253.9 MB, free: 5.82 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007789/0.2509, allocations: 236.5 kB / 254.1 MB, free: 5.574 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 3.086e-06/0.2509, allocations: 0 / 254.1 MB, free: 5.574 MB / 186.7 MB Notification: Performance of matching and sorting (n=19): time 0.001916/0.2529, allocations: 481.2 kB / 254.6 MB, free: 5.098 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.253, allocations: 85.06 kB / 254.7 MB, free: 4.996 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.2533, allocations: 200.1 kB / 254.9 MB, free: 4.793 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.2533, allocations: 33.7 kB / 254.9 MB, free: 4.754 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.2535, allocations: 148.2 kB / 255.1 MB, free: 4.602 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.2536, allocations: 63.06 kB / 255.1 MB, free: 4.539 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.2536, allocations: 8 kB / 255.1 MB, free: 4.531 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2537, allocations: 330.8 kB / 255.5 MB, free: 4.199 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.2544, allocations: 140.1 kB / 255.6 MB, free: 4.059 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.255, allocations: 175.6 kB / 255.8 MB, free: 3.875 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.2556, allocations: 148.3 kB / 255.9 MB, free: 3.73 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2556, allocations: 0 / 255.9 MB, free: 3.73 MB / 186.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001325/0.2569, allocations: 369.1 kB / 256.3 MB, free: 3.363 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.257, allocations: 9.875 kB / 256.3 MB, free: 3.355 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.257, allocations: 4 kB / 256.3 MB, free: 3.352 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.257, allocations: 0 / 256.3 MB, free: 3.352 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.2603, allocations: 335.6 kB / 256.6 MB, free: 3.023 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006724/0.267, allocations: 3.284 MB / 259.9 MB, free: 15.48 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.2676, allocations: 59.86 kB / 259.9 MB, free: 15.42 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.2677, allocations: 5.875 kB / 260 MB, free: 15.41 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real thyristor_v4_1.vControl:VARIABLE(start = 0.0 fixed = true ) type: Real pulseCurrent.signalSource.T0:DISCRETE(start = pulseCurrent.signalSource.startTime unit = "s" fixed = true protected = true ) "Start time of current period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.pulseCurrent.signalSource.T0,pulseCurrent.signalSource.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0002973/0.268, allocations: 144.2 kB / 260.1 MB, free: 15.27 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.268, allocations: 23.67 kB / 260.1 MB, free: 15.24 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.2681, allocations: 34.17 kB / 260.2 MB, free: 15.21 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2681, allocations: 1.781 kB / 260.2 MB, free: 15.21 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.2681, allocations: 0 / 260.2 MB, free: 15.21 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2682, allocations: 0 / 260.2 MB, free: 15.21 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.2686, allocations: 325.5 kB / 260.5 MB, free: 14.84 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.2686, allocations: 3.953 kB / 260.5 MB, free: 14.84 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003204/0.2718, allocations: 329 kB / 260.8 MB, free: 14.52 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2719, allocations: 0 / 260.8 MB, free: 14.52 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.2719, allocations: 11.98 kB / 260.8 MB, free: 14.5 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/0.2789, allocations: 3.276 MB / 264.1 MB, free: 10.96 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2789, allocations: 0 / 264.1 MB, free: 10.96 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.281, allocations: 0.5407 MB / 264.6 MB, free: 10.4 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.2812, allocations: 120.8 kB / 264.7 MB, free: 10.27 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.2813, allocations: 4 kB / 264.7 MB, free: 10.26 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.2816, allocations: 44.03 kB / 264.8 MB, free: 10.22 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.2817, allocations: 27.89 kB / 264.8 MB, free: 10.19 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.2817, allocations: 4 kB / 264.8 MB, free: 10.19 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002285/0.282, allocations: 164.5 kB / 265 MB, free: 10.03 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.282, allocations: 0 / 265 MB, free: 10.03 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006617/0.2827, allocations: 75.83 kB / 265.1 MB, free: 9.957 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 2 ($whenCondition1,pulseCurrent.signalSource.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001782/0.2829, allocations: 106.7 kB / 265.2 MB, free: 9.844 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.003874/0.2867, allocations: 0.5501 MB / 265.7 MB, free: 9.293 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2868, allocations: 4 kB / 265.7 MB, free: 9.289 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003041/0.2898, allocations: 399.7 kB / 266.1 MB, free: 8.898 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.2903, allocations: 32.64 kB / 266.1 MB, free: 8.863 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.2925, allocations: 0.7086 MB / 266.8 MB, free: 8.133 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.2929, allocations: 0.7559 MB / 267.6 MB, free: 7.352 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.2931, allocations: 21.55 kB / 267.6 MB, free: 7.332 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/0.2932, allocations: 15.44 kB / 267.6 MB, free: 7.316 MB / 202.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2932, allocations: 0 / 267.6 MB, free: 7.316 MB / 202.7 MB Notification: Performance of Templates: time 0.007858/0.3011, allocations: 2.741 MB / 270.4 MB, free: 4.605 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)