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.001768/0.001768, allocations: 75.91 kB / 20.53 MB, free: 1.266 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.001913/0.001913, allocations: 172.6 kB / 23.79 MB, free: 4.445 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.396/1.396, allocations: 158.6 MB / 185.5 MB, free: 6.223 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.5725/0.5725, allocations: 76.96 MB / 314.7 MB, free: 12.73 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 65.83 kB / 482.3 MB, free: 35.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1468, allocations: 75.97 MB / 0.5452 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.005055/0.1519, allocations: 1.818 MB / 0.547 GB, free: 2.527 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1536, allocations: 0.5426 MB / 0.5475 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1537, allocations: 0 / 0.5475 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.154, allocations: 51.72 kB / 0.5476 GB, free: 1.926 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1543, allocations: 55.69 kB / 0.5476 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1545, allocations: 79.88 kB / 0.5477 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.1549, allocations: 311.3 kB / 0.548 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.155, allocations: 25.8 kB / 0.548 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.1553, allocations: 111.6 kB / 0.5481 GB, free: 1.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1555, allocations: 107.6 kB / 0.5482 GB, free: 1.246 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.1556, allocations: 16 kB / 0.5482 GB, free: 1.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.322e-05/0.1556, allocations: 24 kB / 0.5483 GB, free: 1.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.661e-05/0.1557, allocations: 51.83 kB / 0.5483 GB, free: 1.156 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.1559, allocations: 59.66 kB / 0.5484 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.1562, allocations: 203.2 kB / 0.5486 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1562, allocations: 0 / 0.5486 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1562, allocations: 0 / 0.5486 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1562, allocations: 0 / 0.5486 GB, free: 0.8984 MB / 462.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.001356/0.1576, allocations: 473.3 kB / 0.549 GB, free: 416 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1576, allocations: 8.031 kB / 0.549 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1577, allocations: 16.84 kB / 0.549 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.1584, allocations: 250 kB / 0.5493 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1584, allocations: 8.375 kB / 0.5493 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.1584, allocations: 4.375 kB / 0.5493 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.1588, allocations: 116.5 kB / 0.5494 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1588, allocations: 0 / 0.5494 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1588, allocations: 4 kB / 0.5494 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1588, allocations: 4 kB / 0.5494 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.1591, allocations: 103.9 kB / 0.5495 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.1599, allocations: 396.1 kB / 0.5499 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.1603, allocations: 158.6 kB / 0.55 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1604, allocations: 52.83 kB / 0.5501 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.1605, allocations: 0 / 0.5501 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1605, allocations: 34.56 kB / 0.5501 GB, free: 15.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 9.41e-07/0.1605, allocations: 0 / 0.5501 GB, free: 15.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008487/0.1613, allocations: 266.2 kB / 0.5504 GB, free: 14.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.1614, allocations: 55.39 kB / 0.5504 GB, free: 14.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006157/0.162, allocations: 270.2 kB / 0.5507 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.162, allocations: 29.7 kB / 0.5507 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/0.1621, allocations: 120 kB / 0.5508 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.1622, allocations: 43.69 kB / 0.5509 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.1622, allocations: 17.72 kB / 0.5509 GB, free: 14.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.1625, allocations: 334.8 kB / 0.5512 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1626, allocations: 43.98 kB / 0.5512 GB, free: 13.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.1627, allocations: 43.98 kB / 0.5513 GB, free: 13.94 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/0.1636, allocations: 273 kB / 0.5516 GB, free: 13.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1636, allocations: 0 / 0.5516 GB, free: 13.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004212/0.164, allocations: 206.3 kB / 0.5517 GB, free: 13.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.164, allocations: 8 kB / 0.5518 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.164, allocations: 0 / 0.5518 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.1642, allocations: 48.77 kB / 0.5518 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.1643, allocations: 15.98 kB / 0.5518 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.1659, allocations: 1.421 MB / 0.5532 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1661, allocations: 35.95 kB / 0.5532 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1661, allocations: 3.938 kB / 0.5532 GB, free: 11.82 MB / 478.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.00023/0.1664, allocations: 150.9 kB / 0.5534 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.1664, allocations: 15.91 kB / 0.5534 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.1665, allocations: 21.45 kB / 0.5534 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1665, allocations: 8 kB / 0.5534 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1665, allocations: 0 / 0.5534 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1665, allocations: 4 kB / 0.5534 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1667, allocations: 185.2 kB / 0.5536 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1667, allocations: 0 / 0.5536 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.1668, allocations: 19.94 kB / 0.5536 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/0.167, allocations: 40.81 kB / 0.5537 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.167, allocations: 8 kB / 0.5537 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.1684, allocations: 1.425 MB / 0.5551 GB, free: 9.809 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1684, allocations: 0 / 0.5551 GB, free: 9.809 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.169, allocations: 352.1 kB / 0.5554 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.169, allocations: 27.86 kB / 0.5554 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1691, allocations: 0 / 0.5554 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.1693, allocations: 24.09 kB / 0.5555 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1693, allocations: 15.92 kB / 0.5555 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1694, allocations: 4 kB / 0.5555 GB, free: 9.375 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004606/0.1698, allocations: 212.4 kB / 0.5557 GB, free: 9.168 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 0 / 0.5557 GB, free: 9.168 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1701, allocations: 32 kB / 0.5557 GB, free: 9.137 MB / 478.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.0001184/0.1702, allocations: 99.28 kB / 0.5558 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.1708, allocations: 242.5 kB / 0.556 GB, free: 8.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1708, allocations: 0 / 0.556 GB, free: 8.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.1712, allocations: 174.7 kB / 0.5562 GB, free: 8.594 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.1715, allocations: 27.92 kB / 0.5562 GB, free: 8.566 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009051/0.1724, allocations: 364.4 kB / 0.5566 GB, free: 8.184 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.1726, allocations: 119.4 kB / 0.5567 GB, free: 8.043 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.698e-05/0.1726, allocations: 28.95 kB / 0.5567 GB, free: 8.012 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.1727, allocations: 12.5 kB / 0.5567 GB, free: 8 MB / 478.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1727, allocations: 0 / 0.5567 GB, free: 8 MB / 478.1 MB Notification: Performance of Templates: time 0.006165/0.1789, allocations: 1.974 MB / 0.5587 GB, free: 6.047 MB / 478.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 -s ida -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.132049791980535] Failed to read output from testmodel.py, exit status != 0: 0.1872295190114528 0.20411293999999994 0.044425628 Calling exit ...