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.001567/0.001572, allocations: 188.1 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001054/0.001054, allocations: 86.86 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2588/0.2588, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004662, allocations: 12 kB / 422.8 MB, free: 26.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 56.33 MB / 479.1 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003581/0.1127, allocations: 2.082 MB / 481.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.1137, allocations: 460.1 kB / 481.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.1138, allocations: 0 / 481.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.1138, allocations: 11.92 kB / 481.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.114, allocations: 27.94 kB / 481.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.1141, allocations: 11.98 kB / 481.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1143, allocations: 63.84 kB / 481.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1145, allocations: 23.97 kB / 481.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1146, allocations: 35.86 kB / 481.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1147, allocations: 43.77 kB / 481.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1147, allocations: 4 kB / 481.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.432e-05/0.1148, allocations: 4 kB / 481.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.1148, allocations: 19.91 kB / 481.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.1149, allocations: 41.64 kB / 481.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.115, allocations: 60.09 kB / 482 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.115, allocations: 0 / 482 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.115, allocations: 4 kB / 482 MB, free: 15.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.115, allocations: 0 / 482 MB, free: 15.05 MB / 330.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.0008084/0.1159, allocations: 403.1 kB / 482.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1159, allocations: 8.031 kB / 482.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.116, allocations: 46.55 kB / 482.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.116, allocations: 11.86 kB / 482.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1163, allocations: 186.9 kB / 482.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1163, allocations: 3.938 kB / 482.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1163, allocations: 12 kB / 482.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.1167, allocations: 93.58 kB / 482.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1167, allocations: 0 / 482.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1168, allocations: 8 kB / 482.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1168, allocations: 7.953 kB / 482.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.1172, allocations: 75.94 kB / 482.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1183, allocations: 477.3 kB / 483.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.1189, allocations: 98.59 kB / 483.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1189, allocations: 3.984 kB / 483.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.119, allocations: 34.56 kB / 483.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.119, allocations: 0 / 483.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007428/0.1197, allocations: 153.5 kB / 483.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1198, allocations: 55.39 kB / 483.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.12, allocations: 137.8 kB / 483.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.12, allocations: 25.7 kB / 483.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.1201, allocations: 166.5 kB / 484 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.1201, allocations: 31.55 kB / 484 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.1202, allocations: 4 kB / 484 MB, free: 12.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1203, allocations: 314.8 kB / 484.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.1205, allocations: 43.97 kB / 484.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.1208, allocations: 67.34 kB / 484.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.121, allocations: 56.06 kB / 484.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.121, allocations: 0 / 484.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005511/0.1216, allocations: 129.6 kB / 484.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1216, allocations: 4 kB / 484.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1217, allocations: 4 kB / 484.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1217, allocations: 0 / 484.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.122, allocations: 35.92 kB / 484.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.122, allocations: 0 / 484.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.1222, allocations: 15.98 kB / 484.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1222, allocations: 4.031 kB / 484.7 MB, free: 12.14 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.1223, allocations: 121.7 kB / 484.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.1224, allocations: 11.81 kB / 484.8 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/0.123, allocations: 142.3 kB / 484.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.123, allocations: 0 / 484.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.123, allocations: 0 / 484.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.123, allocations: 0 / 484.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.1234, allocations: 213.5 kB / 485.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1234, allocations: 0 / 485.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.1237, allocations: 31.97 kB / 485.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1237, allocations: 0 / 485.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1237, allocations: 0 / 485.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1238, allocations: 0 / 485.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1238, allocations: 4.188 kB / 485.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.1246, allocations: 275.7 kB / 485.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.19e-05/0.1247, allocations: 89 kB / 485.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1247, allocations: 4 kB / 485.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1249, allocations: 11.98 kB / 485.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.125, allocations: 7.984 kB / 485.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.125, allocations: 0 / 485.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.1252, allocations: 103.3 kB / 485.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1252, allocations: 0 / 485.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.1256, allocations: 28.06 kB / 485.7 MB, free: 11.02 MB / 330.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 (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.00113/0.1267, allocations: 0.8059 MB / 486.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.1272, allocations: 84.14 kB / 486.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.1272, allocations: 4.062 kB / 486.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.1275, allocations: 51.91 kB / 486.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1278, allocations: 11.94 kB / 486.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.1301, allocations: 1.344 MB / 488 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1304, allocations: 0.6965 MB / 488.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1306, allocations: 35.42 kB / 488.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1306, allocations: 0 / 488.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.309/2.44, allocations: 1.699 MB / 490.4 MB, free: 6.172 MB / 330.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)