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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001363, allocations: 110.2 kB / 17.06 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 198.9 kB / 18 MB, free: 4.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.174/0.174, allocations: 37.99 MB / 309.2 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 431.3 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09921, allocations: 55.25 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00352/0.1028, allocations: 2.448 MB / 489 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005916/0.1034, allocations: 487.7 kB / 489.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.1034, allocations: 4 kB / 489.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.789e-05/0.1035, allocations: 7.875 kB / 489.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.1037, allocations: 27.78 kB / 489.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.724e-05/0.1038, allocations: 27.95 kB / 489.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1039, allocations: 99.59 kB / 489.7 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1041, allocations: 18.8 kB / 489.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1042, allocations: 51.77 kB / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.023e-05/0.1043, allocations: 43.83 kB / 489.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1043, allocations: 8 kB / 489.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.727e-05/0.1043, allocations: 8 kB / 489.8 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.1044, allocations: 23.92 kB / 489.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.1044, allocations: 43.73 kB / 489.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1045, allocations: 87.73 kB / 490 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1046, allocations: 4 kB / 490 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1046, allocations: 0 / 490 MB, free: 5.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1046, allocations: 0 / 490 MB, free: 5.445 MB / 366.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.0006592/0.1052, allocations: 419.8 kB / 490.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1053, allocations: 11.89 kB / 490.4 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.1053, allocations: 38.75 kB / 490.4 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1054, allocations: 16.72 kB / 490.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1056, allocations: 192.2 kB / 490.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1056, allocations: 8.375 kB / 490.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1056, allocations: 7.938 kB / 490.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.1059, allocations: 89.64 kB / 490.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1059, allocations: 3.906 kB / 490.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1059, allocations: 4 kB / 490.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1059, allocations: 4 kB / 490.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.1062, allocations: 71.88 kB / 490.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.107, allocations: 457.3 kB / 491.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.1073, allocations: 98.59 kB / 491.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1074, allocations: 36.83 kB / 491.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1075, allocations: 0 / 491.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1075, allocations: 34.56 kB / 491.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.1075, allocations: 0 / 491.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004518/0.108, allocations: 141.7 kB / 491.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.108, allocations: 55.34 kB / 491.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1081, allocations: 141.8 kB / 491.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1081, allocations: 25.7 kB / 491.8 MB, free: 3.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.1082, allocations: 108 kB / 491.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1082, allocations: 23.7 kB / 491.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.1083, allocations: 29.72 kB / 491.9 MB, free: 3.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1084, allocations: 318.8 kB / 492.3 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1085, allocations: 35.97 kB / 492.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1087, allocations: 55.41 kB / 492.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.1089, allocations: 103.4 kB / 492.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1089, allocations: 0 / 492.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002962/0.1092, allocations: 133.6 kB / 492.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1092, allocations: 4 kB / 492.6 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1093, allocations: 8.094 kB / 492.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1093, allocations: 3.938 kB / 492.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1094, allocations: 27.92 kB / 492.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1094, allocations: 4 kB / 492.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1096, allocations: 28 kB / 492.7 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1096, allocations: 4 kB / 492.7 MB, free: 2.492 MB / 366.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 7.827e-05/0.1097, allocations: 117.8 kB / 492.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.1097, allocations: 11.84 kB / 492.8 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.11, allocations: 130.3 kB / 492.9 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.11, allocations: 3.938 kB / 492.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1101, allocations: 7.984 kB / 492.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.1101, allocations: 0 / 492.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.1103, allocations: 201.6 kB / 493.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1103, allocations: 3.984 kB / 493.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1105, allocations: 19.98 kB / 493.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1105, allocations: 8 kB / 493.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1105, allocations: 4 kB / 493.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1105, allocations: 3.938 kB / 493.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1105, allocations: 0 / 493.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.111, allocations: 251.3 kB / 493.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.111, allocations: 84.95 kB / 493.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1111, allocations: 8.094 kB / 493.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1112, allocations: 19.83 kB / 493.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1112, allocations: 3.984 kB / 493.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1113, allocations: 4 kB / 493.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.1113, allocations: 107.2 kB / 493.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1113, allocations: 0 / 493.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1116, allocations: 20 kB / 493.6 MB, free: 1.402 MB / 366.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.0007059/0.1123, allocations: 0.7826 MB / 494.4 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.1126, allocations: 83.89 kB / 494.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1126, allocations: 4.25 kB / 494.5 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1127, allocations: 44.44 kB / 494.6 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.113, allocations: 15.84 kB / 494.6 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.1151, allocations: 1.75 MB / 496.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1154, allocations: 0.7 MB / 497 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.1155, allocations: 12.66 kB / 497 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.1155, allocations: 31.42 kB / 497.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1155, allocations: 0 / 497.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.1369, allocations: 2.413 MB / 499.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.451, allocations: 19.95 kB / 499.5 MB, free: 11.35 MB / 382.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)