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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001087/0.001087, allocations: 110.6 kB / 16.92 MB, free: 6.332 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.001198/0.001198, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.179/0.179, allocations: 38.03 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.41 kB / 398.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1088, allocations: 58.05 MB / 456.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003848/0.1127, allocations: 2.449 MB / 459.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005706/0.1133, allocations: 438.9 kB / 459.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.1134, allocations: 4 kB / 459.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.275e-05/0.1135, allocations: 11.86 kB / 459.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1136, allocations: 23.78 kB / 459.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.489e-05/0.1137, allocations: 27.91 kB / 459.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1139, allocations: 107.6 kB / 459.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.114, allocations: 23.91 kB / 459.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1141, allocations: 47.84 kB / 460 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.1142, allocations: 39.83 kB / 460 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1142, allocations: 8 kB / 460 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.191e-05/0.1143, allocations: 8 kB / 460 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.1143, allocations: 23.92 kB / 460 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.1144, allocations: 55.66 kB / 460.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1145, allocations: 83.97 kB / 460.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1145, allocations: 0 / 460.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1145, allocations: 0 / 460.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1145, allocations: 0 / 460.2 MB, free: 4.711 MB / 334.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.0006654/0.1152, allocations: 415.1 kB / 460.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1153, allocations: 11.89 kB / 460.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.1153, allocations: 12.78 kB / 460.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.1155, allocations: 192.2 kB / 460.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1155, allocations: 12.38 kB / 460.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1155, allocations: 16.03 kB / 460.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1158, allocations: 93.52 kB / 460.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1158, allocations: 0 / 460.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1158, allocations: 4 kB / 460.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1159, allocations: 4 kB / 460.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.1161, allocations: 63.95 kB / 461 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.1169, allocations: 461.4 kB / 461.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.1172, allocations: 98.59 kB / 461.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1174, allocations: 36.83 kB / 461.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1174, allocations: 4 kB / 461.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1174, allocations: 34.56 kB / 461.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1174, allocations: 0 / 461.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004432/0.1179, allocations: 141.5 kB / 461.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1179, allocations: 55.34 kB / 461.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.118, allocations: 136.8 kB / 461.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1181, allocations: 29.7 kB / 462 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.1181, allocations: 107.9 kB / 462.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.1181, allocations: 19.66 kB / 462.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.1182, allocations: 25.7 kB / 462.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1183, allocations: 322.8 kB / 462.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1184, allocations: 31.97 kB / 462.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1186, allocations: 63.34 kB / 462.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.1188, allocations: 107.5 kB / 462.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1189, allocations: 4 kB / 462.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002964/0.1192, allocations: 121.4 kB / 462.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1192, allocations: 14.02 kB / 462.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1192, allocations: 4.094 kB / 462.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1192, allocations: 0 / 462.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1194, allocations: 35.92 kB / 462.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1194, allocations: 0 / 462.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1195, allocations: 11.89 kB / 462.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1195, allocations: 4 kB / 462.8 MB, free: 1.816 MB / 334.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.461e-05/0.1196, allocations: 122.6 kB / 462.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1196, allocations: 11.84 kB / 462.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.12, allocations: 130.7 kB / 463.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.12, allocations: 7.938 kB / 463.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.12, allocations: 0 / 463.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.12, allocations: 0 / 463.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.1203, allocations: 209.6 kB / 463.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1203, allocations: 0 / 463.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1204, allocations: 23.98 kB / 463.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.1205, allocations: 3.984 kB / 463.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1205, allocations: 7.938 kB / 463.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1205, allocations: 3.938 kB / 463.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1205, allocations: 7.984 kB / 463.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.1209, allocations: 247.4 kB / 463.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.121, allocations: 88.95 kB / 463.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.121, allocations: 8.062 kB / 463.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1212, allocations: 11.92 kB / 463.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.1212, allocations: 4 kB / 463.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1212, allocations: 0 / 463.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.733e-05/0.1213, allocations: 110.2 kB / 463.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1213, allocations: 0 / 463.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1216, allocations: 24 kB / 463.8 MB, free: 0.7148 MB / 334.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.000108/0.1217, allocations: 95.19 kB / 463.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.122, allocations: 95.86 kB / 464 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.122, allocations: 0 / 464 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1221, allocations: 35.98 kB / 464 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1224, allocations: 12.17 kB / 464.1 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.1231, allocations: 320.5 kB / 464.4 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1234, allocations: 0.7002 MB / 465.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.1234, allocations: 8.672 kB / 465.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.1235, allocations: 15.44 kB / 465.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1235, allocations: 0 / 465.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Templates: time 0.003249/0.1267, allocations: 1.027 MB / 466.1 MB, free: 14.36 MB / 350.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)