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: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 115.8 kB / 17.74 MB, free: 5.355 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.001477/0.001477, allocations: 185.5 kB / 18.66 MB, free: 4.441 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.406/1.406, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1734/0.1734, allocations: 37.99 MB / 309.9 MB, free: 5.961 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.001433/0.001433, allocations: 67.91 kB / 432.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09837/0.09981, allocations: 55.24 MB / 487.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003961/0.1038, allocations: 2.448 MB / 490.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.1046, allocations: 483.7 kB / 490.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.1047, allocations: 3.938 kB / 490.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.749e-05/0.1049, allocations: 11.94 kB / 490.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.105, allocations: 23.72 kB / 490.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.1051, allocations: 27.95 kB / 490.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1053, allocations: 103.6 kB / 490.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1055, allocations: 23.92 kB / 490.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1056, allocations: 43.78 kB / 490.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.877e-05/0.1057, allocations: 51.83 kB / 491 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1058, allocations: 8 kB / 491 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/0.1058, allocations: 8 kB / 491 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.1058, allocations: 19.91 kB / 491 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.1059, allocations: 43.73 kB / 491.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.106, allocations: 91.73 kB / 491.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.106, allocations: 0 / 491.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1061, allocations: 0 / 491.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.1061, allocations: 0 / 491.1 MB, free: 5.078 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.0006459/0.1067, allocations: 411.1 kB / 491.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1068, allocations: 15.89 kB / 491.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1068, allocations: 12.78 kB / 491.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1071, allocations: 200 kB / 491.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1071, allocations: 8.375 kB / 491.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1071, allocations: 8.125 kB / 491.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.1074, allocations: 93.64 kB / 491.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1074, allocations: 0 / 491.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1074, allocations: 0 / 491.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1074, allocations: 4 kB / 491.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1077, allocations: 67.94 kB / 491.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008099/0.1085, allocations: 469.1 kB / 492.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.1088, allocations: 90.66 kB / 492.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1089, allocations: 40.77 kB / 492.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.109, allocations: 0 / 492.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.109, allocations: 42.56 kB / 492.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.109, allocations: 0 / 492.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004494/0.1094, allocations: 133.8 kB / 492.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1095, allocations: 55.5 kB / 492.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1096, allocations: 137.8 kB / 492.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1097, allocations: 25.7 kB / 492.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.1097, allocations: 111.9 kB / 493 MB, free: 2.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1098, allocations: 27.8 kB / 493.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.1098, allocations: 25.7 kB / 493.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1099, allocations: 318.8 kB / 493.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1101, allocations: 35.92 kB / 493.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1102, allocations: 59.41 kB / 493.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.1105, allocations: 107.4 kB / 493.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1105, allocations: 0 / 493.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003177/0.1108, allocations: 133.5 kB / 493.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1108, allocations: 4 kB / 493.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1108, allocations: 4 kB / 493.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1108, allocations: 0 / 493.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.111, allocations: 31.86 kB / 493.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.111, allocations: 4 kB / 493.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1111, allocations: 19.83 kB / 493.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1111, allocations: 4 kB / 493.8 MB, free: 2.176 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 9.104e-05/0.1112, allocations: 117.9 kB / 493.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.1113, allocations: 8.094 kB / 493.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.1116, allocations: 134.2 kB / 494 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1116, allocations: 7.875 kB / 494 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1116, allocations: 0 / 494 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1116, allocations: 7.984 kB / 494.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1119, allocations: 205.6 kB / 494.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1119, allocations: 0 / 494.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1121, allocations: 23.98 kB / 494.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1121, allocations: 4 kB / 494.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1121, allocations: 0 / 494.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1121, allocations: 7.922 kB / 494.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1121, allocations: 0 / 494.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.1126, allocations: 259.3 kB / 494.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.1126, allocations: 84.95 kB / 494.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1127, allocations: 8.031 kB / 494.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1128, allocations: 11.92 kB / 494.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1128, allocations: 0 / 494.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1128, allocations: 4 kB / 494.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.643e-05/0.1129, allocations: 111.2 kB / 494.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1129, allocations: 0 / 494.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1132, allocations: 23.91 kB / 494.8 MB, free: 1.078 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 9.561e-05/0.1133, allocations: 99.25 kB / 494.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.1136, allocations: 87.88 kB / 495 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1136, allocations: 4 kB / 495 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1138, allocations: 39.92 kB / 495 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.114, allocations: 16.08 kB / 495 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.1147, allocations: 346.1 kB / 495.4 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1149, allocations: 0.7012 MB / 496.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.115, allocations: 19.38 kB / 496.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.115, allocations: 0 / 496.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of Templates: time 0.002862/0.1179, allocations: 1.273 MB / 497.4 MB, free: 14.44 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile (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 & ./PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)