Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.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.0008735/0.0008735, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008633/0.0008633, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9072/0.9072, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2341/0.2341, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.458e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00269/0.002705, allocations: 2.524 MB / 432.7 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005142/0.003219, allocations: 450.6 kB / 433.2 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.00329, allocations: 0 / 433.2 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.549e-05/0.003386, allocations: 11.86 kB / 433.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.003493, allocations: 27.78 kB / 433.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.579e-05/0.003589, allocations: 27.91 kB / 433.2 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.003714, allocations: 107.5 kB / 433.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.003823, allocations: 15.98 kB / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.003991, allocations: 67.8 kB / 433.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.004056, allocations: 39.89 kB / 433.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.004074, allocations: 8 kB / 433.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.004085, allocations: 4 kB / 433.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.004104, allocations: 19.92 kB / 433.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.004135, allocations: 31.91 kB / 433.5 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.004265, allocations: 95.67 kB / 433.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004267, allocations: 3.938 kB / 433.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004268, allocations: 0 / 433.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004273, allocations: 0 / 433.6 MB, free: 10.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004511/0.004724, allocations: 341.9 kB / 434 MB, free: 9.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.004765, allocations: 11.98 kB / 434 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.004792, allocations: 38.75 kB / 434 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.004818, allocations: 12.89 kB / 434 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.004969, allocations: 144.9 kB / 434.2 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.004978, allocations: 4.375 kB / 434.2 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.005, allocations: 8.375 kB / 434.2 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.005172, allocations: 97.88 kB / 434.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.00518, allocations: 0 / 434.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.005193, allocations: 4 kB / 434.3 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005198, allocations: 7.938 kB / 434.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.005342, allocations: 67.95 kB / 434.3 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.005919, allocations: 390.9 kB / 434.7 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.006125, allocations: 86.66 kB / 434.8 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.006189, allocations: 32.84 kB / 434.8 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.006207, allocations: 4 kB / 434.8 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.006225, allocations: 38.5 kB / 434.9 MB, free: 8.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.006226, allocations: 0 / 434.9 MB, free: 8.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002788/0.006505, allocations: 141.7 kB / 435 MB, free: 8.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.006534, allocations: 55.41 kB / 435.1 MB, free: 8.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.006621, allocations: 144.7 kB / 435.2 MB, free: 8.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.006632, allocations: 25.7 kB / 435.2 MB, free: 8.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.006682, allocations: 100.1 kB / 435.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.006705, allocations: 31.88 kB / 435.4 MB, free: 8.219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.006739, allocations: 25.72 kB / 435.4 MB, free: 8.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.006811, allocations: 322.8 kB / 435.7 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.006872, allocations: 31.97 kB / 435.7 MB, free: 7.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.006942, allocations: 63.34 kB / 435.8 MB, free: 7.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.007071, allocations: 95.34 kB / 435.9 MB, free: 7.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007074, allocations: 8 kB / 435.9 MB, free: 7.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.007247, allocations: 129.5 kB / 436 MB, free: 7.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.007259, allocations: 4.781 kB / 436 MB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.007265, allocations: 4.391 kB / 436 MB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.007275, allocations: 192 / 436 MB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.007356, allocations: 23.98 kB / 436.1 MB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.007364, allocations: 15.86 kB / 436.1 MB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.007413, allocations: 23.92 kB / 436.1 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.00742, allocations: 4 kB / 436.1 MB, free: 7.438 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.007478, allocations: 113.8 kB / 436.2 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.007494, allocations: 7.953 kB / 436.2 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.007678, allocations: 130.4 kB / 436.4 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.007679, allocations: 0 / 436.4 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.007686, allocations: 7.984 kB / 436.4 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007689, allocations: 7.938 kB / 436.4 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.007844, allocations: 164.7 kB / 436.5 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007845, allocations: 0 / 436.5 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.756e-05/0.007913, allocations: 27.92 kB / 436.6 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.007915, allocations: 3.984 kB / 436.6 MB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.007924, allocations: 0 / 436.6 MB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007925, allocations: 0 / 436.6 MB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007926, allocations: 0 / 436.6 MB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.008198, allocations: 263.3 kB / 436.8 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.00821, allocations: 7.984 kB / 436.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.008224, allocations: 0 / 436.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.008279, allocations: 11.98 kB / 436.8 MB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.008316, allocations: 11.92 kB / 436.8 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.008321, allocations: 3.938 kB / 436.9 MB, free: 6.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.008367, allocations: 103.3 kB / 437 MB, free: 6.512 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008367, allocations: 4 kB / 437 MB, free: 6.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.008529, allocations: 23.94 kB / 437 MB, free: 6.484 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004177/0.008947, allocations: 0.7789 MB / 437.8 MB, free: 5.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.009131, allocations: 87.88 kB / 437.8 MB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009133, allocations: 0 / 437.8 MB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.009202, allocations: 39.91 kB / 437.9 MB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.009418, allocations: 20.19 kB / 437.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.01076, allocations: 1.688 MB / 439.6 MB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.01081, allocations: 89.38 kB / 439.7 MB, free: 3.641 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.01085, allocations: 12.67 kB / 439.7 MB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.0109, allocations: 28.48 kB / 439.7 MB, free: 3.598 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0109, allocations: 0 / 439.7 MB, free: 3.598 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.02787, allocations: 3.126 MB / 442.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.797, allocations: 8 kB / 442.9 MB, free: 0.582 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.843752118758857] Failed to read output from testmodel.py, exit status != 0: 7.048046611249447 7.056312779 7.0505309 Calling exit ...