Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000917/0.000917, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9538/0.9538, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 273.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.193e-05, allocations: 2.312 kB / 273.5 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003534/0.003556, allocations: 2.78 MB / 276.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.004981, allocations: 0.7606 MB / 277 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.005118, allocations: 4 kB / 277 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.005262, allocations: 44.34 kB / 277.1 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.005432, allocations: 99.8 kB / 277.2 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.005795, allocations: 115.7 kB / 277.3 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.006143, allocations: 398.3 kB / 277.7 MB, free: 192 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.006283, allocations: 58.84 kB / 277.7 MB, free: 132 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.006667, allocations: 227.5 kB / 278 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.00684, allocations: 127.6 kB / 278.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.006883, allocations: 32 kB / 278.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.006969, allocations: 40 kB / 278.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.007022, allocations: 75.73 kB / 278.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/0.007116, allocations: 107.7 kB / 278.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.0074, allocations: 255.1 kB / 278.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007403, allocations: 0 / 278.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007404, allocations: 0 / 278.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.007408, allocations: 0 / 278.6 MB, free: 15.28 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007423/0.008151, allocations: 0.5643 MB / 279.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.008188, allocations: 8.031 kB / 279.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.008317, allocations: 44.89 kB / 279.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.008544, allocations: 180.8 kB / 279.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.008569, allocations: 16.88 kB / 279.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.0086, allocations: 24.38 kB / 279.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.008908, allocations: 253.6 kB / 279.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.008918, allocations: 192 / 279.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.008942, allocations: 16.38 kB / 279.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.008949, allocations: 11.88 kB / 279.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.009058, allocations: 63.41 kB / 279.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.009895, allocations: 0.6099 MB / 280.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.01053, allocations: 218.3 kB / 280.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.01067, allocations: 92.73 kB / 280.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.01069, allocations: 4 kB / 280.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.01087, allocations: 173.8 kB / 280.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.01087, allocations: 0 / 280.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002384/0.01111, allocations: 145.6 kB / 281 MB, free: 12.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.01116, allocations: 106.8 kB / 281.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.01128, allocations: 217 kB / 281.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.0113, allocations: 33.7 kB / 281.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.01136, allocations: 144.9 kB / 281.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.01141, allocations: 67.38 kB / 281.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.01148, allocations: 49.91 kB / 281.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.01158, allocations: 338.7 kB / 281.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.01164, allocations: 62.28 kB / 282 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.249e-05/0.01173, allocations: 115.7 kB / 282.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.01185, allocations: 127 kB / 282.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01186, allocations: 3.984 kB / 282.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001904/0.01205, allocations: 192.9 kB / 282.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.01207, allocations: 37.8 kB / 282.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01208, allocations: 0 / 282.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01209, allocations: 0 / 282.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.01264, allocations: 175.7 kB / 282.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.01426, allocations: 2.643 MB / 285.3 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.0144, allocations: 39.86 kB / 285.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.01441, allocations: 11.94 kB / 285.3 MB, free: 8.105 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.01458, allocations: 133.8 kB / 285.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.01461, allocations: 23.97 kB / 285.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.01464, allocations: 34.11 kB / 285.5 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01464, allocations: 4 kB / 285.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01464, allocations: 0 / 285.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01465, allocations: 0 / 285.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.01514, allocations: 482.6 kB / 286 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01515, allocations: 4 kB / 286 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.01564, allocations: 155.8 kB / 286.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01565, allocations: 8.062 kB / 286.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01566, allocations: 3.984 kB / 286.2 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.01721, allocations: 2.648 MB / 288.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01721, allocations: 0 / 288.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.01747, allocations: 284.9 kB / 289.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.01749, allocations: 27.83 kB / 289.1 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.01751, allocations: 7.984 kB / 289.1 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.01763, allocations: 31.97 kB / 289.1 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.01769, allocations: 27.95 kB / 289.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.0177, allocations: 4 kB / 289.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.01776, allocations: 70.78 kB / 289.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01776, allocations: 0 / 289.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.01803, allocations: 79.89 kB / 289.3 MB, free: 3.871 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.01813, allocations: 96.34 kB / 289.4 MB, free: 3.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.01872, allocations: 290.2 kB / 289.7 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.01873, allocations: 12.12 kB / 289.7 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.01918, allocations: 176.5 kB / 289.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.01939, allocations: 42.64 kB / 289.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.02035, allocations: 0.5487 MB / 290.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.02041, allocations: 88.17 kB / 290.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.638e-05/0.02049, allocations: 21.95 kB / 290.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.02062, allocations: 95.34 kB / 290.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02062, allocations: 0 / 290.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of Templates: time 0.006179/0.0268, allocations: 4.077 MB / 294.8 MB, free: 14.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.566624992992729]