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.001024/0.001024, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.0009125/0.0009125, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.112/1.112, allocations: 158.6 MB / 185 MB, free: 3.043 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.4448/0.4448, allocations: 76.91 MB / 314.2 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: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 481.3 MB, free: 32.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.62e-05, allocations: 5.344 kB / 481.3 MB, free: 32.66 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003289/0.003325, allocations: 1.82 MB / 483.1 MB, free: 31.42 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004409, allocations: 0.5405 MB / 483.7 MB, free: 31.05 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.004526, allocations: 3.938 kB / 483.7 MB, free: 31.05 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.005065, allocations: 53.98 kB / 483.7 MB, free: 31.02 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.005272, allocations: 58.48 kB / 483.8 MB, free: 30.99 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.005537, allocations: 94.69 kB / 483.9 MB, free: 30.95 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.00587, allocations: 200 kB / 484.1 MB, free: 30.86 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.006128, allocations: 29.95 kB / 484.1 MB, free: 30.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.006264, allocations: 82.03 kB / 484.2 MB, free: 30.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.006454, allocations: 96.3 kB / 484.3 MB, free: 30.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.006502, allocations: 17.31 kB / 484.3 MB, free: 30.77 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.093e-05/0.006533, allocations: 17.72 kB / 484.3 MB, free: 30.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.006618, allocations: 49.09 kB / 484.4 MB, free: 30.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.006685, allocations: 51.55 kB / 484.4 MB, free: 30.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.006967, allocations: 203.8 kB / 484.6 MB, free: 30.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006971, allocations: 0 / 484.6 MB, free: 30.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.006974, allocations: 0 / 484.6 MB, free: 30.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.006981, allocations: 0 / 484.6 MB, free: 30.64 MB / 442.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.001059/0.00804, allocations: 469.5 kB / 485.1 MB, free: 30.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.008107, allocations: 10.34 kB / 485.1 MB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.008142, allocations: 38.12 kB / 485.1 MB, free: 30.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.008179, allocations: 22.14 kB / 485.1 MB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.008573, allocations: 244.8 kB / 485.4 MB, free: 30.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.00859, allocations: 7.688 kB / 485.4 MB, free: 30.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.008625, allocations: 3.281 kB / 485.4 MB, free: 30.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.008891, allocations: 117.9 kB / 485.5 MB, free: 29.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.008915, allocations: 192 / 485.5 MB, free: 29.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.00894, allocations: 8.125 kB / 485.5 MB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.008954, allocations: 2.656 kB / 485.5 MB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.009151, allocations: 109.9 kB / 485.6 MB, free: 29.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.009775, allocations: 416.5 kB / 486 MB, free: 29.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.01009, allocations: 162.6 kB / 486.2 MB, free: 29.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.01017, allocations: 54.28 kB / 486.2 MB, free: 29.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.01019, allocations: 2.594 kB / 486.2 MB, free: 29.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.01022, allocations: 30.56 kB / 486.3 MB, free: 29.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 2.445e-06/0.01022, allocations: 0 / 486.3 MB, free: 29.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006254/0.01084, allocations: 265.8 kB / 486.5 MB, free: 29.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.01088, allocations: 65.94 kB / 486.6 MB, free: 29.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.01121, allocations: 271.5 kB / 486.9 MB, free: 29.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.01123, allocations: 25.7 kB / 486.9 MB, free: 29.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.01129, allocations: 123.1 kB / 487 MB, free: 29.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.01134, allocations: 32.67 kB / 487 MB, free: 28.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.01139, allocations: 23.5 kB / 487.1 MB, free: 28.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01151, allocations: 327.1 kB / 487.4 MB, free: 28.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.0116, allocations: 44.94 kB / 487.4 MB, free: 28.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.01168, allocations: 44.55 kB / 487.5 MB, free: 28.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.01226, allocations: 263.6 kB / 487.7 MB, free: 28.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01226, allocations: 3.031 kB / 487.7 MB, free: 28.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002722/0.01253, allocations: 213.5 kB / 487.9 MB, free: 28.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.01255, allocations: 6.188 kB / 487.9 MB, free: 28.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01256, allocations: 0 / 487.9 MB, free: 28.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.01272, allocations: 41.64 kB / 488 MB, free: 28.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.01278, allocations: 20.94 kB / 488 MB, free: 28.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.01385, allocations: 1.439 MB / 489.4 MB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01396, allocations: 31.61 kB / 489.5 MB, free: 27.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01397, allocations: 6.641 kB / 489.5 MB, free: 27.03 MB / 442.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.0002304/0.0142, allocations: 151.6 kB / 489.6 MB, free: 26.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.01423, allocations: 13.22 kB / 489.6 MB, free: 26.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.01426, allocations: 25.73 kB / 489.7 MB, free: 26.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01426, allocations: 6.719 kB / 489.7 MB, free: 26.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.01427, allocations: 0 / 489.7 MB, free: 26.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01427, allocations: 0 / 489.7 MB, free: 26.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.0145, allocations: 212.1 kB / 489.9 MB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.0145, allocations: 7 kB / 489.9 MB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.0146, allocations: 16.08 kB / 489.9 MB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.01474, allocations: 42.55 kB / 489.9 MB, free: 26.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.01475, allocations: 4 kB / 489.9 MB, free: 26.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000726/0.01548, allocations: 1.445 MB / 491.4 MB, free: 25.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01548, allocations: 0 / 491.4 MB, free: 25.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.01578, allocations: 354.8 kB / 491.7 MB, free: 25.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.01581, allocations: 21.88 kB / 491.8 MB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01583, allocations: 10.31 kB / 491.8 MB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.01595, allocations: 27.86 kB / 491.8 MB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.016, allocations: 6.375 kB / 491.8 MB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.01601, allocations: 0 / 491.8 MB, free: 25.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002204/0.01623, allocations: 213.3 kB / 492 MB, free: 24.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01623, allocations: 0 / 492 MB, free: 24.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000253/0.01648, allocations: 28.88 kB / 492 MB, free: 24.95 MB / 442.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.0005247/0.01701, allocations: 0.8904 MB / 492.9 MB, free: 24.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.01756, allocations: 235.9 kB / 493.2 MB, free: 24.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01757, allocations: 0 / 493.2 MB, free: 24.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.0177, allocations: 180.3 kB / 493.3 MB, free: 23.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01792, allocations: 28.47 kB / 493.4 MB, free: 23.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.02046, allocations: 2.347 MB / 495.7 MB, free: 22.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.0206, allocations: 121.1 kB / 495.8 MB, free: 22.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.02071, allocations: 21.95 kB / 495.9 MB, free: 22.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.02083, allocations: 48.78 kB / 495.9 MB, free: 22.17 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02083, allocations: 0 / 495.9 MB, free: 22.17 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.05179, allocations: 4.583 MB / 0.4888 GB, free: 21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.638/9.69, allocations: 10.81 kB / 0.4888 GB, free: 20.99 MB / 442.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR.fmu > Dynawo_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.607414092868567] Failed to read output from testmodel.py, exit status != 0: 9.781813788227737 9.803067531 9.789116152 Calling exit ...