Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009517/0.0009517, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009255/0.0009255, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.052/1.052, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.188e-05, allocations: 2.312 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002692/0.002704, allocations: 2.783 MB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.00369, allocations: 0.7554 MB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003792, allocations: 7.938 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003908, allocations: 47.56 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.004036, allocations: 91.14 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.004294, allocations: 115.7 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.004576, allocations: 394.3 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.004699, allocations: 74.64 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.004993, allocations: 231.4 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.00513, allocations: 131.6 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.005166, allocations: 32 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.00523, allocations: 36 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.005274, allocations: 71.73 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.005351, allocations: 111.7 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.005572, allocations: 251.2 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.005574, allocations: 0 / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005575, allocations: 0 / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.005578, allocations: 4 kB / 278.5 MB, free: 11.88 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.0006922/0.00627, allocations: 0.5526 MB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.006299, allocations: 11.98 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.006409, allocations: 48.91 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.006603, allocations: 192.7 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.006622, allocations: 16.88 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.006655, allocations: 24.33 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.006949, allocations: 253.6 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006958, allocations: 4.188 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.006974, allocations: 8.375 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.006982, allocations: 11.94 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.007089, allocations: 67.41 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.00782, allocations: 0.6022 MB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.00844, allocations: 218.3 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.008572, allocations: 88.75 kB / 280.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.00859, allocations: 7.938 kB / 280.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.008753, allocations: 171.5 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.008754, allocations: 0 / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002231/0.008977, allocations: 141.9 kB / 280.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.009018, allocations: 106.8 kB / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.009131, allocations: 221.1 kB / 281.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.009152, allocations: 37.7 kB / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.009207, allocations: 140.9 kB / 281.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.009247, allocations: 71.34 kB / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.009312, allocations: 49.92 kB / 281.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.009392, allocations: 338.7 kB / 281.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.009451, allocations: 54.16 kB / 281.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.033e-05/0.009532, allocations: 123.7 kB / 282 MB, free: 8.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.009657, allocations: 128.1 kB / 282.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009659, allocations: 0 / 282.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001777/0.009837, allocations: 200.9 kB / 282.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.00986, allocations: 29.7 kB / 282.4 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.009864, allocations: 4 kB / 282.4 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.009876, allocations: 0 / 282.4 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.01042, allocations: 171.8 kB / 282.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.01191, allocations: 2.639 MB / 285.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.01203, allocations: 39.83 kB / 285.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.01205, allocations: 11.98 kB / 285.3 MB, free: 4.699 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 8.4e-05/0.01213, allocations: 132.8 kB / 285.4 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.01216, allocations: 19.98 kB / 285.4 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.01219, allocations: 34.11 kB / 285.4 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.01219, allocations: 0 / 285.4 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01219, allocations: 4.062 kB / 285.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0122, allocations: 7.984 kB / 285.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.01265, allocations: 471.4 kB / 285.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01266, allocations: 0 / 285.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.01316, allocations: 160.9 kB / 286.1 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01316, allocations: 0 / 286.1 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01318, allocations: 8 kB / 286.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.01457, allocations: 2.655 MB / 288.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01457, allocations: 4 kB / 288.7 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.0148, allocations: 284.3 kB / 289 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.01482, allocations: 23.84 kB / 289 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01484, allocations: 0 / 289 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.01497, allocations: 32.06 kB / 289.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.01502, allocations: 35.95 kB / 289.1 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01503, allocations: 3.984 kB / 289.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.965e-05/0.01508, allocations: 74.78 kB / 289.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01508, allocations: 0 / 289.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.01533, allocations: 79.89 kB / 289.3 MB, free: 484 kB / 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 7.361e-05/0.0154, allocations: 80.36 kB / 289.3 MB, free: 392 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.01599, allocations: 305.8 kB / 289.6 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01599, allocations: 0 / 289.6 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09605/0.112, allocations: 175.4 kB / 289.8 MB, free: 24.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.1123, allocations: 40.64 kB / 289.9 MB, free: 24.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1134, allocations: 0.545 MB / 290.4 MB, free: 24.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.923e-05/0.1135, allocations: 85.09 kB / 290.5 MB, free: 24.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.553e-05/0.1136, allocations: 25.56 kB / 290.5 MB, free: 24.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1137, allocations: 91.09 kB / 290.6 MB, free: 24.48 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1137, allocations: 0 / 290.6 MB, free: 24.48 MB / 266.7 MB Notification: Performance of Templates: time 0.006074/0.1198, allocations: 4.082 MB / 294.7 MB, free: 24.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.588646327611059]