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.001533/0.001533, allocations: 104.3 kB / 19.72 MB, free: 2.07 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.001628/0.001628, allocations: 211.6 kB / 23.01 MB, free: 4.898 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.408/1.408, allocations: 207.7 MB / 233.9 MB, free: 9.789 MB / 190.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.6096/0.6096, allocations: 103.8 MB / 389.9 MB, free: 21.18 MB / 318.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.002506/0.002506, allocations: 75.89 kB / 0.5445 GB, free: 6.871 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3606, allocations: 75.98 MB / 0.6187 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002546/0.3631, allocations: 1.836 MB / 0.6205 GB, free: 8.641 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008099/0.3639, allocations: 0.5426 MB / 0.621 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.364, allocations: 0 / 0.621 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.3643, allocations: 51.69 kB / 0.621 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.3645, allocations: 59.7 kB / 0.6211 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.3647, allocations: 71.89 kB / 0.6212 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.3649, allocations: 311.4 kB / 0.6215 GB, free: 7.605 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3651, allocations: 25.73 kB / 0.6215 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.3652, allocations: 111.6 kB / 0.6216 GB, free: 7.465 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3653, allocations: 111.6 kB / 0.6217 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.3654, allocations: 16 kB / 0.6217 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.72e-05/0.3654, allocations: 20 kB / 0.6217 GB, free: 7.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.3654, allocations: 51.83 kB / 0.6218 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.3655, allocations: 63.7 kB / 0.6219 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.3657, allocations: 211.2 kB / 0.6221 GB, free: 7.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3657, allocations: 3.938 kB / 0.6221 GB, free: 7.004 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3657, allocations: 0 / 0.6221 GB, free: 7.004 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3657, allocations: 0 / 0.6221 GB, free: 7.004 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.0009402/0.3666, allocations: 469.3 kB / 0.6225 GB, free: 6.516 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.3667, allocations: 8.031 kB / 0.6225 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.3667, allocations: 20.84 kB / 0.6225 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.3672, allocations: 238.1 kB / 0.6228 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3672, allocations: 8.375 kB / 0.6228 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.3672, allocations: 8.312 kB / 0.6228 GB, free: 6.215 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3674, allocations: 117.8 kB / 0.6229 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3674, allocations: 0 / 0.6229 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3674, allocations: 4 kB / 0.6229 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3674, allocations: 0 / 0.6229 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.3676, allocations: 107.9 kB / 0.623 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.3682, allocations: 384.2 kB / 0.6234 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.3685, allocations: 154.6 kB / 0.6235 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.3686, allocations: 52.92 kB / 0.6236 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3686, allocations: 0 / 0.6236 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.3687, allocations: 42.5 kB / 0.6236 GB, free: 5.312 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.3687, allocations: 4 kB / 0.6236 GB, free: 5.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.000704/0.3694, allocations: 258.2 kB / 0.6238 GB, free: 5.047 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.3694, allocations: 55.41 kB / 0.6239 GB, free: 4.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.3698, allocations: 274.9 kB / 0.6242 GB, free: 4.699 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3698, allocations: 25.7 kB / 0.6242 GB, free: 4.668 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.3699, allocations: 124 kB / 0.6243 GB, free: 4.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.3699, allocations: 39.69 kB / 0.6243 GB, free: 4.504 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.3699, allocations: 25.7 kB / 0.6244 GB, free: 4.473 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.37, allocations: 326.8 kB / 0.6247 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.3701, allocations: 47.97 kB / 0.6247 GB, free: 4.098 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.3701, allocations: 40.36 kB / 0.6248 GB, free: 4.059 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.3708, allocations: 276.6 kB / 0.625 GB, free: 3.785 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3708, allocations: 0 / 0.625 GB, free: 3.785 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003005/0.3711, allocations: 206.2 kB / 0.6252 GB, free: 3.574 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3712, allocations: 8 kB / 0.6252 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3712, allocations: 0 / 0.6252 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.3713, allocations: 48.81 kB / 0.6253 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.3714, allocations: 8 kB / 0.6253 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008841/0.3723, allocations: 1.432 MB / 0.6267 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.3725, allocations: 27.95 kB / 0.6267 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.3725, allocations: 3.938 kB / 0.6267 GB, free: 1.941 MB / 462.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.0001563/0.3727, allocations: 145.6 kB / 0.6269 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3727, allocations: 15.97 kB / 0.6269 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.3727, allocations: 25.39 kB / 0.6269 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3727, allocations: 4 kB / 0.6269 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3727, allocations: 0 / 0.6269 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3727, allocations: 0 / 0.6269 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.3729, allocations: 181.2 kB / 0.6271 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3729, allocations: 0 / 0.6271 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.373, allocations: 23.92 kB / 0.6271 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.3731, allocations: 36.83 kB / 0.6271 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3731, allocations: 11.94 kB / 0.6271 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008226/0.3739, allocations: 1.432 MB / 0.6285 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3739, allocations: 0 / 0.6285 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.3745, allocations: 352.1 kB / 0.6289 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.3745, allocations: 23.92 kB / 0.6289 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3746, allocations: 0 / 0.6289 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.3748, allocations: 32.08 kB / 0.6289 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.3748, allocations: 7.984 kB / 0.6289 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3748, allocations: 4 kB / 0.6289 GB, free: 15.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.3753, allocations: 204.4 kB / 0.6291 GB, free: 15.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3753, allocations: 4.094 kB / 0.6291 GB, free: 15.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3756, allocations: 35.94 kB / 0.6292 GB, free: 15.27 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.0001387/0.3757, allocations: 99.19 kB / 0.6293 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005288/0.3762, allocations: 234.6 kB / 0.6295 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3762, allocations: 0 / 0.6295 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.3765, allocations: 182.6 kB / 0.6297 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3768, allocations: 24.36 kB / 0.6297 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/0.3776, allocations: 364.5 kB / 0.63 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.3777, allocations: 115.3 kB / 0.6301 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.665e-05/0.3778, allocations: 24.95 kB / 0.6302 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.3778, allocations: 19.44 kB / 0.6302 GB, free: 14.14 MB / 478.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3778, allocations: 0 / 0.6302 GB, free: 14.14 MB / 478.1 MB Notification: Performance of Templates: time 0.006105/0.3839, allocations: 2.073 MB / 0.6322 GB, free: 12.08 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 -lv LOG_STATS > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.265677003189921] Failed to read output from testmodel.py, exit status != 0: 0.393929673358798 0.40871861 0.03987069399999994 Calling exit ...