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.001968/0.001968, allocations: 92.91 kB / 20.23 MB, free: 4.195 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.002222/0.002222, allocations: 165.3 kB / 23.55 MB, free: 0.8789 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 1.42/1.42, allocations: 158.6 MB / 185.4 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.6475/0.6475, allocations: 76.92 MB / 314.6 MB, free: 10.63 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 2.114e-06/2.114e-06, allocations: 0 / 406.5 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.348e-05/5.559e-05, allocations: 10.05 kB / 406.5 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.005191/0.005246, allocations: 1.835 MB / 408.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.00692, allocations: 0.5659 MB / 408.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.007024, allocations: 4 kB / 408.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.007489, allocations: 43.64 kB / 408.9 MB, free: 14.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.007799, allocations: 55.7 kB / 409 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.008227, allocations: 99.77 kB / 409.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.00867, allocations: 199.5 kB / 409.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.008884, allocations: 41.77 kB / 409.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.009078, allocations: 71.81 kB / 409.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.009366, allocations: 99.69 kB / 409.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.00943, allocations: 16 kB / 409.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.009478, allocations: 16 kB / 409.5 MB, free: 13.49 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.009636, allocations: 55.81 kB / 409.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.00976, allocations: 47.84 kB / 409.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.01022, allocations: 199.4 kB / 409.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.01023, allocations: 0 / 409.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.01023, allocations: 0 / 409.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.01024, allocations: 0 / 409.8 MB, free: 13.2 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.001497/0.01174, allocations: 0.5383 MB / 410.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.0118, allocations: 12.03 kB / 410.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.0119, allocations: 16.84 kB / 410.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.01246, allocations: 204.3 kB / 410.6 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.01248, allocations: 8.375 kB / 410.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.526e-05/0.01253, allocations: 12.33 kB / 410.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.01282, allocations: 86.12 kB / 410.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.01284, allocations: 4.172 kB / 410.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.01286, allocations: 4.375 kB / 410.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.01287, allocations: 7.938 kB / 410.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.01318, allocations: 63.95 kB / 410.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.0143, allocations: 443.5 kB / 411.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.01488, allocations: 115.1 kB / 411.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.01501, allocations: 35.69 kB / 411.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.01503, allocations: 0 / 411.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.01507, allocations: 37.39 kB / 411.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.01507, allocations: 0 / 411.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.001112/0.01618, allocations: 201.1 kB / 411.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.01624, allocations: 55.34 kB / 411.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.01688, allocations: 306.1 kB / 411.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.01692, allocations: 25.7 kB / 411.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.0171, allocations: 178.8 kB / 412.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.01719, allocations: 39.69 kB / 412.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.01728, allocations: 31.38 kB / 412.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000385/0.01767, allocations: 0.5118 MB / 412.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.01779, allocations: 24 kB / 412.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.01789, allocations: 27.92 kB / 412.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.01828, allocations: 92.14 kB / 412.8 MB, free: 9.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.01828, allocations: 0 / 412.8 MB, free: 9.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005858/0.01887, allocations: 149.2 kB / 413 MB, free: 9.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.01889, allocations: 4 kB / 413 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.0189, allocations: 3.938 kB / 413 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004428/0.01935, allocations: 43.66 kB / 413 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01949, allocations: 19.94 kB / 413 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.02233, allocations: 1.885 MB / 414.9 MB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.02256, allocations: 15.92 kB / 414.9 MB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.02257, allocations: 3.938 kB / 414.9 MB, free: 7.691 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.000351/0.02292, allocations: 193.3 kB / 415.1 MB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.02302, allocations: 19.91 kB / 415.2 MB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.61e-05/0.02309, allocations: 21.45 kB / 415.2 MB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.02311, allocations: 4 kB / 415.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.02311, allocations: 0 / 415.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.02312, allocations: 0 / 415.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.02362, allocations: 204.5 kB / 415.4 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02362, allocations: 0 / 415.4 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.02379, allocations: 16 kB / 415.4 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003385/0.02413, allocations: 43.64 kB / 415.4 MB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.02416, allocations: 4 kB / 415.4 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.0271, allocations: 1.889 MB / 417.3 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.0271, allocations: 4.031 kB / 417.3 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009239/0.02803, allocations: 331.3 kB / 417.7 MB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.02811, allocations: 19.91 kB / 417.7 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.02815, allocations: 3.938 kB / 417.7 MB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.02844, allocations: 11.98 kB / 417.7 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.02853, allocations: 11.98 kB / 417.7 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.02855, allocations: 0 / 417.7 MB, free: 4.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005949/0.02914, allocations: 220.1 kB / 417.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.02914, allocations: 0 / 417.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005512/0.02969, allocations: 32 kB / 418 MB, free: 4.496 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.0002283/0.02992, allocations: 99.25 kB / 418 MB, free: 4.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008746/0.0308, allocations: 268.6 kB / 418.3 MB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.0308, allocations: 0 / 418.3 MB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.03133, allocations: 229.5 kB / 418.5 MB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.0318, allocations: 19.98 kB / 418.6 MB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.03323, allocations: 314.5 kB / 418.9 MB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.03346, allocations: 123.4 kB / 419 MB, free: 3.359 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.03357, allocations: 16.97 kB / 419 MB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.03365, allocations: 16.44 kB / 419 MB, free: 3.324 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.03365, allocations: 0 / 419 MB, free: 3.324 MB / 394.7 MB Notification: Performance of Templates: time 0.01109/0.04474, allocations: 2.029 MB / 421 MB, free: 1.316 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: 5.399495978956111]