Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008961/0.0008961, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9486/0.9486, allocations: 173.4 MB / 201.5 MB, free: 8.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.788e-05, allocations: 6.25 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002708/0.002725, allocations: 2.748 MB / 271.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003827, allocations: 0.7164 MB / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003943, allocations: 0 / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.004056, allocations: 43.52 kB / 272 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.004188, allocations: 103.1 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.004447, allocations: 103.7 kB / 272.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.00473, allocations: 386.3 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.004844, allocations: 66.84 kB / 272.7 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.005093, allocations: 223.5 kB / 272.9 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.005238, allocations: 127.7 kB / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.005277, allocations: 32 kB / 273.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.192e-05/0.005309, allocations: 32 kB / 273.1 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.005357, allocations: 71.73 kB / 273.2 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.005439, allocations: 103.8 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.005674, allocations: 255.1 kB / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005676, allocations: 0 / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005677, allocations: 0 / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.005681, allocations: 0 / 273.5 MB, free: 0.9727 MB / 250.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.0006882/0.006369, allocations: 0.5372 MB / 274 MB, free: 412 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.0064, allocations: 11.97 kB / 274.1 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.006458, allocations: 36.84 kB / 274.1 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.006655, allocations: 186.1 kB / 274.3 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.006674, allocations: 16.88 kB / 274.3 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.006706, allocations: 24.38 kB / 274.3 MB, free: 112 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.007025, allocations: 249.6 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.007033, allocations: 192 / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.007053, allocations: 12.38 kB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.007061, allocations: 7.938 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.007173, allocations: 67.41 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/0.007935, allocations: 0.606 MB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.00856, allocations: 214.4 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.008698, allocations: 96.36 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.008716, allocations: 4 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.008878, allocations: 159.5 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.008879, allocations: 0 / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002413/0.009121, allocations: 149.9 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.009167, allocations: 110.8 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.009281, allocations: 205 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.009304, allocations: 33.7 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.009365, allocations: 144.9 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.009405, allocations: 71.41 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.009473, allocations: 58 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.009555, allocations: 342.7 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.009616, allocations: 54.16 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.009702, allocations: 119.7 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.00983, allocations: 124.8 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.009832, allocations: 3.938 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001954/0.01003, allocations: 204.9 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.01005, allocations: 29.7 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01006, allocations: 4 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.01007, allocations: 0 / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.01061, allocations: 155.8 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.01218, allocations: 2.627 MB / 280.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.01231, allocations: 43.81 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.01233, allocations: 8 kB / 280.2 MB, free: 9.859 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 9.034e-05/0.01242, allocations: 129.9 kB / 280.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.01244, allocations: 23.98 kB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.01247, allocations: 30.11 kB / 280.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01247, allocations: 4 kB / 280.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01248, allocations: 0 / 280.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01248, allocations: 3.984 kB / 280.3 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.01296, allocations: 482.3 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01296, allocations: 4 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.01345, allocations: 138.7 kB / 281 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01345, allocations: 4 kB / 281 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01346, allocations: 8.062 kB / 281 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.01488, allocations: 2.643 MB / 283.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01489, allocations: 0 / 283.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.01513, allocations: 276 kB / 283.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.01515, allocations: 27.8 kB / 283.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.01517, allocations: 8.188 kB / 283.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.01529, allocations: 23.97 kB / 283.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.01535, allocations: 31.95 kB / 284 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01536, allocations: 3.984 kB / 284 MB, free: 5.812 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.01541, allocations: 74.78 kB / 284 MB, free: 5.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01541, allocations: 0 / 284 MB, free: 5.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.01569, allocations: 71.89 kB / 284.1 MB, free: 5.672 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 9.353e-05/0.01578, allocations: 92.36 kB / 284.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.01637, allocations: 285.6 kB / 284.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/0.01637, allocations: 4 kB / 284.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.01683, allocations: 160.8 kB / 284.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.01702, allocations: 52.34 kB / 284.7 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/0.01794, allocations: 0.5418 MB / 285.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.94e-05/0.01799, allocations: 84.31 kB / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.888e-05/0.01806, allocations: 17.95 kB / 285.3 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.01819, allocations: 91.36 kB / 285.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01819, allocations: 0 / 285.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of Templates: time 0.005574/0.02376, allocations: 4.023 MB / 289.5 MB, free: 316 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.5713038006797433]