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.001773/0.001773, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001879/0.001879, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 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 1.664/1.664, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] 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.2323/0.2323, allocations: 38.51 MB / 349.4 MB, free: 2.582 MB / 270.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 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.001991/0.001991, allocations: 64.58 kB / 487.8 MB, free: 32.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.132, allocations: 62.42 MB / 0.5373 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004398/0.1364, allocations: 2.485 MB / 0.5398 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007628/0.1372, allocations: 470.8 kB / 0.5402 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.1373, allocations: 0 / 0.5402 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.1374, allocations: 11.88 kB / 0.5402 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1375, allocations: 23.78 kB / 0.5403 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.1376, allocations: 27.95 kB / 0.5403 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1378, allocations: 107.6 kB / 0.5404 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.138, allocations: 15.94 kB / 0.5404 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1381, allocations: 55.78 kB / 0.5404 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.1382, allocations: 43.83 kB / 0.5405 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1383, allocations: 11.98 kB / 0.5405 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.1383, allocations: 8 kB / 0.5405 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.1383, allocations: 15.92 kB / 0.5405 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.1384, allocations: 47.73 kB / 0.5406 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1385, allocations: 91.89 kB / 0.5407 GB, free: 6.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1385, allocations: 0 / 0.5407 GB, free: 6.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1385, allocations: 4 kB / 0.5407 GB, free: 6.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1386, allocations: 0 / 0.5407 GB, free: 6.121 MB / 398.1 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.000882/0.1394, allocations: 411 kB / 0.5411 GB, free: 5.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1395, allocations: 15.97 kB / 0.5411 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.194e-05/0.1395, allocations: 4.125 kB / 0.5411 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.1395, allocations: 46.73 kB / 0.5411 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.1396, allocations: 12.84 kB / 0.5411 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1399, allocations: 188.3 kB / 0.5413 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1399, allocations: 8.125 kB / 0.5413 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.1399, allocations: 8 kB / 0.5413 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.1402, allocations: 85.64 kB / 0.5414 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1402, allocations: 0 / 0.5414 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1402, allocations: 3.938 kB / 0.5414 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1402, allocations: 4 kB / 0.5414 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.1405, allocations: 71.94 kB / 0.5415 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.1414, allocations: 465.3 kB / 0.5419 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.1417, allocations: 94.59 kB / 0.542 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1419, allocations: 32.84 kB / 0.542 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1419, allocations: 0 / 0.542 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1419, allocations: 34.56 kB / 0.5421 GB, free: 4.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/0.1419, allocations: 3.984 kB / 0.5421 GB, free: 4.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004959/0.1424, allocations: 149.6 kB / 0.5422 GB, free: 4.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1424, allocations: 51.41 kB / 0.5423 GB, free: 4.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1426, allocations: 152 kB / 0.5424 GB, free: 4.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1426, allocations: 25.7 kB / 0.5424 GB, free: 4.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.1427, allocations: 108.1 kB / 0.5425 GB, free: 3.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1427, allocations: 23.78 kB / 0.5426 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.1428, allocations: 25.67 kB / 0.5426 GB, free: 3.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.143, allocations: 326.8 kB / 0.5429 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1431, allocations: 35.97 kB / 0.5429 GB, free: 3.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1433, allocations: 59.34 kB / 0.543 GB, free: 3.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.1436, allocations: 99.34 kB / 0.5431 GB, free: 3.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1436, allocations: 3.984 kB / 0.5431 GB, free: 3.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003856/0.1439, allocations: 129.5 kB / 0.5432 GB, free: 3.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.144, allocations: 8 kB / 0.5432 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.144, allocations: 4 kB / 0.5432 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.144, allocations: 3.938 kB / 0.5432 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1442, allocations: 32.06 kB / 0.5433 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1442, allocations: 4 kB / 0.5433 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1444, allocations: 7.938 kB / 0.5433 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.1444, allocations: 8 kB / 0.5433 GB, free: 3.168 MB / 398.1 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 0.0001356/0.1445, allocations: 125.7 kB / 0.5434 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.1446, allocations: 11.91 kB / 0.5434 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.1451, allocations: 134.3 kB / 0.5435 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1451, allocations: 0 / 0.5435 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1451, allocations: 4 kB / 0.5435 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1451, allocations: 0 / 0.5435 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.1455, allocations: 205.5 kB / 0.5437 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1455, allocations: 0 / 0.5437 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.1457, allocations: 23.98 kB / 0.5438 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1457, allocations: 0 / 0.5438 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1457, allocations: 7.938 kB / 0.5438 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1457, allocations: 0 / 0.5438 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1458, allocations: 7.938 kB / 0.5438 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.1464, allocations: 251.9 kB / 0.544 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.1465, allocations: 85.05 kB / 0.5441 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.1465, allocations: 7.969 kB / 0.5441 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1467, allocations: 8.062 kB / 0.5441 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.1468, allocations: 11.98 kB / 0.5441 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1468, allocations: 0 / 0.5441 GB, free: 2.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1469, allocations: 110.1 kB / 0.5442 GB, free: 2.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1469, allocations: 0 / 0.5442 GB, free: 2.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.1473, allocations: 20 kB / 0.5443 GB, free: 2.074 MB / 398.1 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.001284/0.1486, allocations: 0.7868 MB / 0.545 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.149, allocations: 83.83 kB / 0.5451 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.149, allocations: 3.938 kB / 0.5451 GB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.1492, allocations: 36.22 kB / 0.5451 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.1497, allocations: 16 kB / 0.5452 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.1531, allocations: 1.743 MB / 0.5469 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.1535, allocations: 0.7078 MB / 0.5476 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.771e-05/0.1536, allocations: 8.672 kB / 0.5476 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1537, allocations: 27.42 kB / 0.5476 GB, free: 14.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1537, allocations: 0 / 0.5476 GB, free: 14.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.1776, allocations: 2.444 MB / 0.55 GB, free: 12.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.56, allocations: 9.969 kB / 0.55 GB, free: 12.15 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.676632631977554] Failed to read output from testmodel.py, exit status != 0: 8.684778349997941 8.699023183 8.557651696 Calling exit ...