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.001636/0.001636, allocations: 96.41 kB / 20.5 MB, free: 1.375 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.001929/0.001929, allocations: 226.6 kB / 23.8 MB, free: 4.539 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.52/1.52, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.6076/0.6076, allocations: 103.8 MB / 390.7 MB, free: 21.15 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.002208/0.002208, allocations: 71.91 kB / 0.5448 GB, free: 7.395 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3751, allocations: 75.99 MB / 0.619 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003092/0.3782, allocations: 1.816 MB / 0.6207 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.3792, allocations: 0.5465 MB / 0.6213 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.3792, allocations: 0 / 0.6213 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.3796, allocations: 43.7 kB / 0.6213 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3798, allocations: 67.75 kB / 0.6214 GB, free: 7.926 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.38, allocations: 75.83 kB / 0.6214 GB, free: 7.852 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.3804, allocations: 311.4 kB / 0.6217 GB, free: 7.547 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3805, allocations: 33.73 kB / 0.6218 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3807, allocations: 115.6 kB / 0.6219 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3809, allocations: 115.6 kB / 0.622 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.3809, allocations: 16 kB / 0.622 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.3809, allocations: 16 kB / 0.622 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.381, allocations: 51.83 kB / 0.6221 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.3811, allocations: 55.72 kB / 0.6221 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3813, allocations: 214.4 kB / 0.6223 GB, free: 6.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3813, allocations: 0 / 0.6223 GB, free: 6.941 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3813, allocations: 0 / 0.6223 GB, free: 6.941 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3813, allocations: 0 / 0.6223 GB, free: 6.941 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.001145/0.3825, allocations: 477.2 kB / 0.6228 GB, free: 6.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3825, allocations: 8.031 kB / 0.6228 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.337e-05/0.3825, allocations: 4.188 kB / 0.6228 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.3826, allocations: 38.75 kB / 0.6228 GB, free: 6.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.3826, allocations: 16.84 kB / 0.6229 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.3831, allocations: 246.1 kB / 0.6231 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3831, allocations: 4.375 kB / 0.6231 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.3831, allocations: 8.375 kB / 0.6231 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3834, allocations: 120.9 kB / 0.6232 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3834, allocations: 0 / 0.6232 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3834, allocations: 0 / 0.6232 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3834, allocations: 4 kB / 0.6232 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.3836, allocations: 107.9 kB / 0.6233 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.3842, allocations: 419.6 kB / 0.6237 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.3846, allocations: 154.7 kB / 0.6239 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.3847, allocations: 52.83 kB / 0.6239 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3848, allocations: 4 kB / 0.6239 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.3848, allocations: 34.5 kB / 0.624 GB, free: 5.148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.3848, allocations: 0 / 0.624 GB, free: 5.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007699/0.3855, allocations: 266.2 kB / 0.6242 GB, free: 4.879 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.3856, allocations: 55.39 kB / 0.6243 GB, free: 4.812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.386, allocations: 274.9 kB / 0.6245 GB, free: 4.531 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.386, allocations: 29.7 kB / 0.6246 GB, free: 4.496 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3861, allocations: 116.1 kB / 0.6247 GB, free: 4.379 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.3861, allocations: 39.67 kB / 0.6247 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3862, allocations: 25.72 kB / 0.6247 GB, free: 4.309 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.3863, allocations: 326.8 kB / 0.625 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.3863, allocations: 39.98 kB / 0.6251 GB, free: 3.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.3864, allocations: 47.97 kB / 0.6251 GB, free: 3.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007929/0.3872, allocations: 276.9 kB / 0.6254 GB, free: 3.621 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3872, allocations: 3.984 kB / 0.6254 GB, free: 3.617 MB / 462.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003194/0.3875, allocations: 210.3 kB / 0.6256 GB, free: 3.402 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3876, allocations: 8 kB / 0.6256 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3876, allocations: 0 / 0.6256 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/0.3877, allocations: 40.83 kB / 0.6256 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.3878, allocations: 19.98 kB / 0.6257 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.3889, allocations: 1.436 MB / 0.6271 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.3891, allocations: 40 kB / 0.6271 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3891, allocations: 4 kB / 0.6271 GB, free: 1.738 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.0002456/0.3894, allocations: 145.6 kB / 0.6272 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.3894, allocations: 15.91 kB / 0.6273 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.3894, allocations: 21.39 kB / 0.6273 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3894, allocations: 3.938 kB / 0.6273 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3894, allocations: 4 kB / 0.6273 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3895, allocations: 0 / 0.6273 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.3897, allocations: 208.6 kB / 0.6275 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3897, allocations: 7.938 kB / 0.6275 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.3898, allocations: 15.92 kB / 0.6275 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.3899, allocations: 44.83 kB / 0.6275 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3899, allocations: 0 / 0.6275 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.391, allocations: 1.455 MB / 0.629 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.391, allocations: 0 / 0.629 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.3915, allocations: 352 kB / 0.6293 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.3916, allocations: 19.94 kB / 0.6293 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.3916, allocations: 8 kB / 0.6293 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.3918, allocations: 23.95 kB / 0.6294 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.3919, allocations: 16.05 kB / 0.6294 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.3919, allocations: 0 / 0.6294 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004379/0.3923, allocations: 216.4 kB / 0.6296 GB, free: 15.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3923, allocations: 0 / 0.6296 GB, free: 15.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.3926, allocations: 36.03 kB / 0.6296 GB, free: 14.98 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.001035/0.3937, allocations: 0.8809 MB / 0.6305 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.3943, allocations: 238.5 kB / 0.6307 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3943, allocations: 0 / 0.6307 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.3946, allocations: 178.6 kB / 0.6309 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.3949, allocations: 15.98 kB / 0.6309 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.399, allocations: 2.337 MB / 0.6332 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.3992, allocations: 127.3 kB / 0.6333 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.422e-05/0.3993, allocations: 20.91 kB / 0.6333 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3994, allocations: 47.42 kB / 0.6334 GB, free: 10.98 MB / 478.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3994, allocations: 0 / 0.6334 GB, free: 10.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.4311, allocations: 4.101 MB / 0.6374 GB, free: 6.969 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.67, allocations: 8.062 kB / 0.6374 GB, free: 6.961 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.925038782996126] Failed to read output from testmodel.py, exit status != 0: 12.827839135890827 12.845169701 12.45986974 Calling exit ...