Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002339, allocations: 186 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.2 MB / 218.9 MB, free: 9.156 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 91.83 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2944/0.2944, allocations: 37.95 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.03e-05, allocations: 0 / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 56.32 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4791/0.6077, allocations: 87.62 MB / 0.5477 GB, free: 64 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000353/0.6082, allocations: 84 kB / 0.5478 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008393/0.6166, allocations: 1.735 MB / 0.5495 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6166, allocations: 0 / 0.5495 GB, free: 14.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.6167, allocations: 5.75 kB / 0.5495 GB, free: 14.24 MB / 394.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.0007685/0.6174, allocations: 394.5 kB / 0.5498 GB, free: 13.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.6175, allocations: 12.03 kB / 0.5499 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.6176, allocations: 34.56 kB / 0.5499 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.6176, allocations: 7.906 kB / 0.5499 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.6179, allocations: 199.8 kB / 0.5501 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.618, allocations: 4 kB / 0.5501 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.618, allocations: 19.89 kB / 0.5501 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.6183, allocations: 74.38 kB / 0.5502 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.6183, allocations: 0 / 0.5502 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.6183, allocations: 0 / 0.5502 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.6184, allocations: 4 kB / 0.5502 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.6186, allocations: 47.94 kB / 0.5502 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.6197, allocations: 461.3 kB / 0.5507 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.6201, allocations: 78.62 kB / 0.5507 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.6203, allocations: 28.86 kB / 0.5508 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.6203, allocations: 1.203 kB / 0.5508 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.6204, allocations: 34.52 kB / 0.5508 GB, free: 12.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.6204, allocations: 0 / 0.5508 GB, free: 12.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003137/0.6207, allocations: 89.58 kB / 0.5509 GB, free: 12.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.6208, allocations: 55.34 kB / 0.5509 GB, free: 12.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.6209, allocations: 128.9 kB / 0.5511 GB, free: 12.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.621, allocations: 25.7 kB / 0.5511 GB, free: 12.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.6211, allocations: 178.4 kB / 0.5513 GB, free: 12.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.6212, allocations: 19.66 kB / 0.5513 GB, free: 12.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-06/0.6212, allocations: 4 kB / 0.5513 GB, free: 12.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6214, allocations: 314.8 kB / 0.5516 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.131e-05/0.6215, allocations: 35.88 kB / 0.5516 GB, free: 11.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.6216, allocations: 43.44 kB / 0.5517 GB, free: 11.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.6217, allocations: 24.14 kB / 0.5517 GB, free: 11.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6217, allocations: 4 kB / 0.5517 GB, free: 11.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003018/0.622, allocations: 105.6 kB / 0.5518 GB, free: 11.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6221, allocations: 4 kB / 0.5518 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6221, allocations: 0 / 0.5518 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.6221, allocations: 4 kB / 0.5518 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.6224, allocations: 39.91 kB / 0.5518 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.6225, allocations: 0 / 0.5518 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.6227, allocations: 15.91 kB / 0.5518 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.6227, allocations: 4 kB / 0.5519 GB, free: 11.56 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.6228, allocations: 114.9 kB / 0.552 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.6229, allocations: 11.86 kB / 0.552 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.6232, allocations: 98.23 kB / 0.5521 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.6232, allocations: 4 kB / 0.5521 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6233, allocations: 0 / 0.5521 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.6233, allocations: 3.984 kB / 0.5521 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.6237, allocations: 205.5 kB / 0.5523 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6237, allocations: 0 / 0.5523 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.624, allocations: 35.97 kB / 0.5523 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.624, allocations: 0 / 0.5523 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.6241, allocations: 7.953 kB / 0.5523 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6241, allocations: 0 / 0.5523 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6241, allocations: 0 / 0.5523 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.6246, allocations: 215.3 kB / 0.5525 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.6247, allocations: 89.03 kB / 0.5526 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.6247, allocations: 4.188 kB / 0.5526 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.6249, allocations: 16.02 kB / 0.5526 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.625, allocations: 11.92 kB / 0.5526 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.625, allocations: 0 / 0.5526 GB, free: 10.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.6251, allocations: 103.3 kB / 0.5527 GB, free: 10.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6252, allocations: 0 / 0.5527 GB, free: 10.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003343/0.6255, allocations: 24 kB / 0.5528 GB, free: 10.54 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008583/0.6264, allocations: 0.7553 MB / 0.5535 GB, free: 9.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.6266, allocations: 60.33 kB / 0.5535 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6267, allocations: 3.938 kB / 0.5536 GB, free: 9.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.6268, allocations: 28 kB / 0.5536 GB, free: 9.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.6271, allocations: 7.953 kB / 0.5536 GB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.6281, allocations: 289.1 kB / 0.5539 GB, free: 9.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.6285, allocations: 0.7043 MB / 0.5546 GB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.6286, allocations: 27.42 kB / 0.5546 GB, free: 8.578 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6286, allocations: 0 / 0.5546 GB, free: 8.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.399/3.028, allocations: 1.7 MB / 0.5562 GB, free: 6.879 MB / 394.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)