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.001465/0.001465, allocations: 79.19 kB / 19.96 MB, free: 1.75 MB / 14.72 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.001662/0.001662, allocations: 170 kB / 23.23 MB, free: 4.883 MB / 14.72 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.51/1.51, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 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.4581/0.4581, allocations: 76.92 MB / 314.2 MB, free: 7.98 MB / 302.1 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.124e-06/2.124e-06, allocations: 0 / 481.8 MB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.331e-05, allocations: 6.281 kB / 481.8 MB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003416/0.00345, allocations: 1.819 MB / 483.6 MB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.00447, allocations: 0.5456 MB / 484.2 MB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.004548, allocations: 6.219 kB / 484.2 MB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.004917, allocations: 49.3 kB / 484.2 MB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.005119, allocations: 61.05 kB / 484.3 MB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.005393, allocations: 93.91 kB / 484.4 MB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.005677, allocations: 194.7 kB / 484.6 MB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.005814, allocations: 35.09 kB / 484.6 MB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.005942, allocations: 86.78 kB / 484.7 MB, free: 2.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.006143, allocations: 95.56 kB / 484.8 MB, free: 2.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.0062, allocations: 16.16 kB / 484.8 MB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.733e-05/0.006237, allocations: 17.28 kB / 484.8 MB, free: 2.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.006334, allocations: 47.83 kB / 484.9 MB, free: 2.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.006416, allocations: 50.12 kB / 484.9 MB, free: 2.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.006743, allocations: 199.5 kB / 485.1 MB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006748, allocations: 0.9062 kB / 485.1 MB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.006749, allocations: 0 / 485.1 MB, free: 1.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.006755, allocations: 0 / 485.1 MB, free: 1.988 MB / 398.1 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.001278/0.008033, allocations: 460.7 kB / 485.6 MB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.008086, allocations: 13.69 kB / 485.6 MB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.008168, allocations: 21.06 kB / 485.6 MB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.008804, allocations: 249.8 kB / 485.8 MB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.008817, allocations: 7.812 kB / 485.9 MB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.008856, allocations: 5.453 kB / 485.9 MB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.009123, allocations: 114.2 kB / 486 MB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.009136, allocations: 6.609 kB / 486 MB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.009153, allocations: 8.375 kB / 486 MB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.009161, allocations: 5.281 kB / 486 MB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.009447, allocations: 110.5 kB / 486.1 MB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.01032, allocations: 381 kB / 486.5 MB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.01085, allocations: 160.4 kB / 486.6 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.01097, allocations: 52.64 kB / 486.7 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.01098, allocations: 5.469 kB / 486.7 MB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.011, allocations: 32.03 kB / 486.7 MB, free: 0.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.011, allocations: 0 / 486.7 MB, free: 0.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009283/0.01193, allocations: 266.6 kB / 487 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.01196, allocations: 52.78 kB / 487 MB, free: 0.7383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.01255, allocations: 278 kB / 487.3 MB, free: 0.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.01256, allocations: 27.08 kB / 487.3 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.01263, allocations: 120.6 kB / 487.4 MB, free: 452 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.01269, allocations: 35.16 kB / 487.5 MB, free: 424 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.01274, allocations: 26.42 kB / 487.5 MB, free: 400 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.01281, allocations: 323.8 kB / 487.8 MB, free: 76 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.01291, allocations: 46.41 kB / 487.9 MB, free: 60 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.01301, allocations: 49.17 kB / 487.9 MB, free: 40 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/0.01397, allocations: 274.1 kB / 488.2 MB, free: 15.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01397, allocations: 0 / 488.2 MB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004515/0.01442, allocations: 194.8 kB / 488.4 MB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01445, allocations: 5.188 kB / 488.4 MB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.01446, allocations: 5.344 kB / 488.4 MB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.01473, allocations: 49.72 kB / 488.4 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.01482, allocations: 13.02 kB / 488.4 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.01652, allocations: 1.422 MB / 489.9 MB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.01675, allocations: 28.86 kB / 489.9 MB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.01676, allocations: 6.625 kB / 489.9 MB, free: 14.48 MB / 414.1 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.0002483/0.01701, allocations: 150.5 kB / 490 MB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.01706, allocations: 17.12 kB / 490.1 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.01711, allocations: 22.95 kB / 490.1 MB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01711, allocations: 0.8438 kB / 490.1 MB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.01712, allocations: 6.156 kB / 490.1 MB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01712, allocations: 0 / 490.1 MB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.01741, allocations: 193.5 kB / 490.3 MB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01741, allocations: 0 / 490.3 MB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.642e-05/0.01751, allocations: 12.06 kB / 490.3 MB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.01766, allocations: 50.16 kB / 490.3 MB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.01768, allocations: 5.062 kB / 490.3 MB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.01916, allocations: 1.414 MB / 491.8 MB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01916, allocations: 1.375 kB / 491.8 MB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.01981, allocations: 347.4 kB / 492.1 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.01986, allocations: 21.11 kB / 492.1 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.01989, allocations: 14.2 kB / 492.1 MB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.02014, allocations: 29.16 kB / 492.2 MB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.0202, allocations: 10.45 kB / 492.2 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.02021, allocations: 2.578 kB / 492.2 MB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005005/0.02071, allocations: 208.7 kB / 492.4 MB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02071, allocations: 5.375 kB / 492.4 MB, free: 12.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.02103, allocations: 35.47 kB / 492.4 MB, free: 12.46 MB / 414.1 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.0001708/0.0212, allocations: 95.09 kB / 492.5 MB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006041/0.0218, allocations: 244.5 kB / 492.7 MB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02181, allocations: 0 / 492.7 MB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.02214, allocations: 183.1 kB / 492.9 MB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.02244, allocations: 22.05 kB / 492.9 MB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.02332, allocations: 342.3 kB / 493.3 MB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.02349, allocations: 123 kB / 493.4 MB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.882e-05/0.02357, allocations: 20.22 kB / 493.4 MB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.02363, allocations: 15.94 kB / 493.4 MB, free: 11.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02363, allocations: 0 / 493.4 MB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.006882/0.03051, allocations: 1.976 MB / 495.4 MB, free: 11.38 MB / 414.1 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=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6653952896595] Failed to read output from testmodel.py, exit status != 0: 0.04016523063182831 0.059118025000000005 0.048748826 Calling exit ...