Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009576/0.0009576, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001049/0.001049, allocations: 168 kB / 25.7 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9316/0.9316, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.601e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004388/0.004414, allocations: 2.732 MB / 254.3 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.005965, allocations: 0.7523 MB / 255 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.006119, allocations: 4 kB / 255.1 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.006285, allocations: 39.58 kB / 255.1 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.006478, allocations: 87.2 kB / 255.2 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.006914, allocations: 119.6 kB / 255.3 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.007398, allocations: 394.3 kB / 255.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.007589, allocations: 54.73 kB / 255.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.007978, allocations: 211.6 kB / 255.9 MB, free: 2.828 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.008189, allocations: 139.6 kB / 256.1 MB, free: 2.691 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.008251, allocations: 32 kB / 256.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.008298, allocations: 35.94 kB / 256.1 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.00836, allocations: 63.75 kB / 256.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.008471, allocations: 111.7 kB / 256.3 MB, free: 2.453 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.0088, allocations: 243.2 kB / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.008805, allocations: 0 / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.008806, allocations: 0 / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.008812, allocations: 0 / 256.5 MB, free: 2.215 MB / 234.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.00103/0.009843, allocations: 0.5449 MB / 257.1 MB, free: 1.641 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.009892, allocations: 15.98 kB / 257.1 MB, free: 1.625 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.763e-05/0.00997, allocations: 32.91 kB / 257.1 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.01026, allocations: 182.4 kB / 257.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.01028, allocations: 12.88 kB / 257.3 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.01033, allocations: 24.36 kB / 257.4 MB, free: 1.352 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.01078, allocations: 257.5 kB / 257.6 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.0108, allocations: 4.172 kB / 257.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.01082, allocations: 8.375 kB / 257.6 MB, free: 1.066 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.01083, allocations: 7.938 kB / 257.6 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.01099, allocations: 59.47 kB / 257.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.01215, allocations: 0.6138 MB / 258.3 MB, free: 368 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.01309, allocations: 210.3 kB / 258.5 MB, free: 148 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.01331, allocations: 92.73 kB / 258.6 MB, free: 52 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.01334, allocations: 4 kB / 258.6 MB, free: 48 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.0136, allocations: 163.5 kB / 258.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.216e-06/0.0136, allocations: 0 / 258.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003399/0.01394, allocations: 154 kB / 258.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.014, allocations: 106.8 kB / 259 MB, free: 15.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.01418, allocations: 217 kB / 259.2 MB, free: 15.35 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.01451, allocations: 33.64 kB / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.01461, allocations: 144.9 kB / 259.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.01467, allocations: 71.36 kB / 259.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.01475, allocations: 49.91 kB / 259.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01487, allocations: 342.7 kB / 259.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.01496, allocations: 58.16 kB / 259.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.01507, allocations: 111.8 kB / 260 MB, free: 14.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.01525, allocations: 136 kB / 260.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01526, allocations: 0 / 260.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002592/0.01552, allocations: 189 kB / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.01556, allocations: 33.7 kB / 260.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01557, allocations: 0 / 260.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.01559, allocations: 8.047 kB / 260.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.01643, allocations: 155.8 kB / 260.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.01852, allocations: 2.632 MB / 263.2 MB, free: 11.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.0187, allocations: 35.86 kB / 263.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.01872, allocations: 15.94 kB / 263.2 MB, free: 11.1 MB / 250.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.0001247/0.01884, allocations: 121.8 kB / 263.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.01888, allocations: 23.97 kB / 263.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.01892, allocations: 34.11 kB / 263.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.01892, allocations: 4.062 kB / 263.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01893, allocations: 4 kB / 263.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01893, allocations: 0 / 263.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.01946, allocations: 479.3 kB / 263.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01946, allocations: 0 / 263.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.01997, allocations: 143.8 kB / 264 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01997, allocations: 0 / 264 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.01999, allocations: 11.98 kB / 264 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.02172, allocations: 2.635 MB / 266.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.02173, allocations: 15.94 kB / 266.7 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.02199, allocations: 273 kB / 266.9 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.02201, allocations: 23.8 kB / 267 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.02204, allocations: 4 kB / 267 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.02216, allocations: 27.97 kB / 267 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.02222, allocations: 23.95 kB / 267 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.02224, allocations: 15.97 kB / 267 MB, free: 7.055 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.02229, allocations: 70.78 kB / 267.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02229, allocations: 0 / 267.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.02256, allocations: 75.89 kB / 267.2 MB, free: 6.906 MB / 250.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.0001147/0.02267, allocations: 80.42 kB / 267.2 MB, free: 6.816 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.02328, allocations: 293.5 kB / 267.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.02329, allocations: 0 / 267.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.02372, allocations: 157.5 kB / 267.7 MB, free: 6.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.02429, allocations: 44.72 kB / 267.7 MB, free: 6.309 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.02524, allocations: 0.549 MB / 268.3 MB, free: 5.727 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.889e-05/0.02529, allocations: 84.48 kB / 268.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.02537, allocations: 25.94 kB / 268.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.02548, allocations: 91.3 kB / 268.5 MB, free: 5.512 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02548, allocations: 0 / 268.5 MB, free: 5.512 MB / 250.7 MB Notification: Performance of Templates: time 0.00552/0.031, allocations: 4.019 MB / 272.5 MB, free: 1.523 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.6720265736803412]