Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.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.001426/0.001426, allocations: 87.55 kB / 20.97 MB, free: 3.582 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.001476/0.001476, allocations: 177 kB / 24.27 MB, free: 280 kB / 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.8432/0.8432, allocations: 158.6 MB / 186.1 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.4051/0.4051, allocations: 76.92 MB / 315.3 MB, free: 10.73 MB / 298.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) 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(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 407.2 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.04e-05, allocations: 6.25 kB / 407.2 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002948/0.002978, allocations: 1.87 MB / 409.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.003912, allocations: 0.5581 MB / 409.6 MB, free: 14.11 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.004008, allocations: 0 / 409.6 MB, free: 14.11 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.004397, allocations: 47.7 kB / 409.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.004582, allocations: 59.69 kB / 409.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.004817, allocations: 103.7 kB / 409.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.005041, allocations: 191.5 kB / 410 MB, free: 13.72 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.005181, allocations: 42.11 kB / 410.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.005304, allocations: 75.8 kB / 410.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.005459, allocations: 95.75 kB / 410.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.005496, allocations: 16 kB / 410.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.005521, allocations: 16 kB / 410.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.005596, allocations: 55.81 kB / 410.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.00566, allocations: 43.84 kB / 410.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.005841, allocations: 119.6 kB / 410.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.005846, allocations: 3.938 kB / 410.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005847, allocations: 0 / 410.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.005853, allocations: 0 / 410.5 MB, free: 13.26 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000727/0.00658, allocations: 0.5266 MB / 411 MB, free: 12.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.006621, allocations: 8.031 kB / 411 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.006688, allocations: 20.84 kB / 411 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.007005, allocations: 213 kB / 411.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.007017, allocations: 384 / 411.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.007047, allocations: 16.33 kB / 411.3 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.007197, allocations: 74.06 kB / 411.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.007205, allocations: 192 / 411.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.00722, allocations: 4.375 kB / 411.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.007229, allocations: 11.94 kB / 411.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.007329, allocations: 31.97 kB / 411.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.007873, allocations: 403.5 kB / 411.8 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.008153, allocations: 91.05 kB / 411.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.008202, allocations: 27.81 kB / 411.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.008213, allocations: 0 / 411.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.00824, allocations: 41.39 kB / 411.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.674e-06/0.008241, allocations: 7.938 kB / 411.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004904/0.008732, allocations: 157.1 kB / 412.1 MB, free: 11.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.008764, allocations: 55.34 kB / 412.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.008964, allocations: 258.2 kB / 412.4 MB, free: 11.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.008987, allocations: 25.7 kB / 412.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.009072, allocations: 170.7 kB / 412.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.009121, allocations: 39.7 kB / 412.6 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.009171, allocations: 31.36 kB / 412.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.009313, allocations: 0.4962 MB / 413.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.009348, allocations: 8 kB / 413.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.009378, allocations: 15.98 kB / 413.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.009496, allocations: 56.09 kB / 413.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.009499, allocations: 3.984 kB / 413.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001951/0.009694, allocations: 117.1 kB / 413.3 MB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.00971, allocations: 8 kB / 413.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.009717, allocations: 7.922 kB / 413.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.00991, allocations: 35.66 kB / 413.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.009959, allocations: 8 kB / 413.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.01119, allocations: 1.803 MB / 415.2 MB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.01126, allocations: 15.98 kB / 415.2 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.01126, allocations: 4 kB / 415.2 MB, free: 8.16 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.inertia.x_scaled[1]:VARIABLE(start = simplifiedSFR.inertia.a_end * simplifiedSFR.inertia.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(start = simplifiedSFR.feedbackLoop.a_end * simplifiedSFR.feedbackLoop.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.01143, allocations: 177.5 kB / 415.4 MB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.01146, allocations: 15.91 kB / 415.4 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.01148, allocations: 21.47 kB / 415.4 MB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01148, allocations: 3.984 kB / 415.4 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.01149, allocations: 0 / 415.4 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01149, allocations: 4 kB / 415.4 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.01164, allocations: 184.5 kB / 415.6 MB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01164, allocations: 0 / 415.6 MB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.0117, allocations: 11.94 kB / 415.6 MB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.01181, allocations: 35.64 kB / 415.7 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.01182, allocations: 8 kB / 415.7 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007705/0.01259, allocations: 1.807 MB / 417.5 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.01259, allocations: 0 / 417.5 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.01284, allocations: 287.3 kB / 417.8 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.01286, allocations: 23.89 kB / 417.8 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.01288, allocations: 3.938 kB / 417.8 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.01295, allocations: 11.98 kB / 417.8 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.01299, allocations: 11.98 kB / 417.8 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.013, allocations: 0 / 417.8 MB, free: 5.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.0131, allocations: 188.2 kB / 418 MB, free: 5.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0131, allocations: 0 / 418 MB, free: 5.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000191/0.01329, allocations: 32 kB / 418 MB, free: 5.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (simplifiedSFR.inertia.x_scaled[1],simplifiedSFR.feedbackLoop.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.01339, allocations: 99.19 kB / 418.1 MB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.01372, allocations: 244.7 kB / 418.4 MB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01372, allocations: 0 / 418.4 MB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.01386, allocations: 217.5 kB / 418.6 MB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.01406, allocations: 16 kB / 418.6 MB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.01458, allocations: 306.4 kB / 418.9 MB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01463, allocations: 83.81 kB / 419 MB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.248e-05/0.01467, allocations: 20.95 kB / 419 MB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.01471, allocations: 16.5 kB / 419 MB, free: 4.074 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01471, allocations: 3.938 kB / 419 MB, free: 4.07 MB / 394.7 MB Notification: Performance of Templates: time 0.004039/0.01875, allocations: 2.025 MB / 421 MB, free: 2.066 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & ./Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0715985929127783]