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.001293/0.001293, allocations: 119.6 kB / 17.86 MB, free: 5.219 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.001556/0.001556, allocations: 203.7 kB / 20.81 MB, free: 2.277 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.47/1.47, allocations: 207.6 MB / 231.2 MB, free: 4.078 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.5723/0.5723, allocations: 104 MB / 387.1 MB, free: 13.93 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: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="cs",version="2.0",platforms={"static"}) [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.002851/0.002851, allocations: 70.41 kB / 0.5397 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1973, allocations: 75.95 MB / 0.6139 GB, free: 5.863 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.004457/0.2017, allocations: 1.873 MB / 0.6157 GB, free: 3.973 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2032, allocations: 0.5785 MB / 0.6162 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.2033, allocations: 4 kB / 0.6162 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.2038, allocations: 43.7 kB / 0.6163 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.2041, allocations: 63.69 kB / 0.6164 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.2043, allocations: 59.92 kB / 0.6164 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.2048, allocations: 267.5 kB / 0.6167 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.205, allocations: 37.47 kB / 0.6167 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.2052, allocations: 99.67 kB / 0.6168 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.2055, allocations: 119.5 kB / 0.6169 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.2055, allocations: 16 kB / 0.6169 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.18e-05/0.2056, allocations: 20 kB / 0.6169 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.2057, allocations: 47.89 kB / 0.617 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2058, allocations: 79.52 kB / 0.6171 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.2062, allocations: 199.2 kB / 0.6173 GB, free: 2.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2062, allocations: 0 / 0.6173 GB, free: 2.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2062, allocations: 0 / 0.6173 GB, free: 2.348 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.2062, allocations: 0 / 0.6173 GB, free: 2.348 MB / 478.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.001664/0.2078, allocations: 0.5336 MB / 0.6178 GB, free: 1.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.2079, allocations: 12.03 kB / 0.6178 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.525e-05/0.2079, allocations: 8.188 kB / 0.6178 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.542e-05/0.208, allocations: 38.73 kB / 0.6178 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.2081, allocations: 20.78 kB / 0.6179 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.2088, allocations: 296.5 kB / 0.6181 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2088, allocations: 12.28 kB / 0.6181 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.2089, allocations: 12.38 kB / 0.6182 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.2092, allocations: 113.6 kB / 0.6183 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2092, allocations: 0 / 0.6183 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.2092, allocations: 0 / 0.6183 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2092, allocations: 0 / 0.6183 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.2095, allocations: 111.9 kB / 0.6184 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.2105, allocations: 0.5194 MB / 0.6189 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.211, allocations: 154.6 kB / 0.619 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.2111, allocations: 56.83 kB / 0.6191 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2111, allocations: 3.938 kB / 0.6191 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2112, allocations: 34.56 kB / 0.6191 GB, free: 260 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/0.2112, allocations: 4 kB / 0.6191 GB, free: 256 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.001062/0.2122, allocations: 331.3 kB / 0.6194 GB, free: 15.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.2123, allocations: 59.39 kB / 0.6195 GB, free: 15.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.2129, allocations: 274.2 kB / 0.6198 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.213, allocations: 25.7 kB / 0.6198 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2131, allocations: 120.1 kB / 0.6199 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.2132, allocations: 43.56 kB / 0.6199 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.2132, allocations: 21.72 kB / 0.62 GB, free: 15.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2134, allocations: 330.8 kB / 0.6203 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2135, allocations: 47.98 kB / 0.6203 GB, free: 14.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2136, allocations: 43.97 kB / 0.6204 GB, free: 14.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/0.2146, allocations: 268.6 kB / 0.6206 GB, free: 14.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2146, allocations: 0 / 0.6206 GB, free: 14.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004901/0.2151, allocations: 202.2 kB / 0.6208 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.2151, allocations: 4 kB / 0.6208 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2151, allocations: 0 / 0.6208 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.2154, allocations: 48.83 kB / 0.6209 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2155, allocations: 19.92 kB / 0.6209 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.2174, allocations: 1.555 MB / 0.6224 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.2177, allocations: 27.94 kB / 0.6224 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2177, allocations: 4 kB / 0.6224 GB, free: 12.62 MB / 494.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.0003244/0.218, allocations: 156.1 kB / 0.6226 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.2181, allocations: 15.91 kB / 0.6226 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.2182, allocations: 25.34 kB / 0.6226 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2182, allocations: 7.938 kB / 0.6226 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2182, allocations: 0 / 0.6226 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2182, allocations: 7.922 kB / 0.6226 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.2186, allocations: 257.5 kB / 0.6229 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2186, allocations: 4 kB / 0.6229 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2187, allocations: 11.98 kB / 0.6229 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.2189, allocations: 48.83 kB / 0.6229 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.2189, allocations: 4 kB / 0.6229 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.2206, allocations: 1.555 MB / 0.6245 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2206, allocations: 0 / 0.6245 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.2212, allocations: 348 kB / 0.6248 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.2213, allocations: 101.2 kB / 0.6249 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.2214, allocations: 8 kB / 0.6249 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.2216, allocations: 27.91 kB / 0.6249 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.2217, allocations: 11.92 kB / 0.6249 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2217, allocations: 0 / 0.6249 GB, free: 9.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005135/0.2222, allocations: 224.1 kB / 0.6251 GB, free: 9.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2222, allocations: 0 / 0.6251 GB, free: 9.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.2226, allocations: 35.94 kB / 0.6252 GB, free: 9.566 MB / 494.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.00105/0.2236, allocations: 0.8693 MB / 0.626 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006526/0.2243, allocations: 242.7 kB / 0.6263 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2243, allocations: 3.938 kB / 0.6263 GB, free: 8.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.2246, allocations: 178.5 kB / 0.6264 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2249, allocations: 23.33 kB / 0.6265 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.2294, allocations: 2.337 MB / 0.6287 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.2299, allocations: 0.7358 MB / 0.6295 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.958e-05/0.23, allocations: 20.86 kB / 0.6295 GB, free: 4.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.2301, allocations: 47.42 kB / 0.6295 GB, free: 4.945 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/0.2301, allocations: 0 / 0.6295 GB, free: 4.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.2602, allocations: 3.892 MB / 0.6333 GB, free: 1.148 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.88, allocations: 11.02 kB / 0.6333 GB, free: 1.141 MB / 494.1 MB " [Timeout remaining time 649] (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: 14.497489524015691] Failed to read output from testmodel.py, exit status != 0: 11.30744889198104 11.318986732 11.109746779 Calling exit ...