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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 120.5 kB / 18.41 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 190.7 kB / 21.35 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2979/0.2979, allocations: 37.98 MB / 337.2 MB, free: 12.94 MB / 270.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 64.14 kB / 467.5 MB, free: 27.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1153, allocations: 58.07 MB / 0.5133 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004187/0.1195, allocations: 2.443 MB / 0.5156 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.1202, allocations: 439 kB / 0.5161 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.1203, allocations: 3.938 kB / 0.5161 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1205, allocations: 19.8 kB / 0.5161 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.1206, allocations: 27.73 kB / 0.5161 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.1208, allocations: 23.95 kB / 0.5161 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.121, allocations: 95.64 kB / 0.5162 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1211, allocations: 27.92 kB / 0.5163 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1212, allocations: 39.84 kB / 0.5163 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1213, allocations: 51.77 kB / 0.5163 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1214, allocations: 8 kB / 0.5164 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.501e-05/0.1214, allocations: 12 kB / 0.5164 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.1214, allocations: 19.91 kB / 0.5164 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.1215, allocations: 39.8 kB / 0.5164 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1217, allocations: 95.55 kB / 0.5165 GB, free: 6.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1217, allocations: 4 kB / 0.5165 GB, free: 6.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1217, allocations: 0 / 0.5165 GB, free: 6.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1217, allocations: 0 / 0.5165 GB, free: 6.402 MB / 382.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.0007867/0.1225, allocations: 419 kB / 0.5169 GB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1226, allocations: 15.89 kB / 0.5169 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.1226, allocations: 8.891 kB / 0.5169 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1229, allocations: 196.1 kB / 0.5171 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1229, allocations: 4.375 kB / 0.5171 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.123, allocations: 12.12 kB / 0.5171 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.1233, allocations: 87.89 kB / 0.5172 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1233, allocations: 0 / 0.5172 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1233, allocations: 8 kB / 0.5172 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1233, allocations: 4 kB / 0.5172 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.1236, allocations: 67.94 kB / 0.5173 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008894/0.1245, allocations: 469.2 kB / 0.5177 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.1249, allocations: 94.66 kB / 0.5178 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.125, allocations: 44.75 kB / 0.5179 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.125, allocations: 0 / 0.5179 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1251, allocations: 38.5 kB / 0.5179 GB, free: 4.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1251, allocations: 0 / 0.5179 GB, free: 4.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004949/0.1256, allocations: 137.6 kB / 0.518 GB, free: 4.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1256, allocations: 55.34 kB / 0.5181 GB, free: 4.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1258, allocations: 136.2 kB / 0.5182 GB, free: 4.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1258, allocations: 29.7 kB / 0.5183 GB, free: 4.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.1259, allocations: 108.1 kB / 0.5184 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1259, allocations: 27.94 kB / 0.5184 GB, free: 4.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.126, allocations: 25.7 kB / 0.5184 GB, free: 4.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1261, allocations: 322.8 kB / 0.5187 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1263, allocations: 35.92 kB / 0.5188 GB, free: 3.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.1265, allocations: 63.34 kB / 0.5188 GB, free: 3.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1267, allocations: 103.3 kB / 0.5189 GB, free: 3.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1267, allocations: 0 / 0.5189 GB, free: 3.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003297/0.1271, allocations: 129.5 kB / 0.519 GB, free: 3.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1271, allocations: 4 kB / 0.519 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1271, allocations: 8.094 kB / 0.519 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1271, allocations: 0 / 0.519 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1273, allocations: 27.92 kB / 0.5191 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1273, allocations: 7.938 kB / 0.5191 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1274, allocations: 11.94 kB / 0.5191 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1275, allocations: 4 kB / 0.5191 GB, free: 3.496 MB / 382.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 0.0001082/0.1276, allocations: 117.8 kB / 0.5192 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.1276, allocations: 7.953 kB / 0.5192 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.128, allocations: 126.3 kB / 0.5193 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.128, allocations: 3.938 kB / 0.5193 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.128, allocations: 4 kB / 0.5193 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.128, allocations: 0 / 0.5193 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.1283, allocations: 217.5 kB / 0.5196 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1283, allocations: 4 kB / 0.5196 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1285, allocations: 27.97 kB / 0.5196 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1285, allocations: 0 / 0.5196 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1285, allocations: 4 kB / 0.5196 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.1285, allocations: 3.938 kB / 0.5196 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1285, allocations: 3.938 kB / 0.5196 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.129, allocations: 255.4 kB / 0.5198 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.1291, allocations: 81.06 kB / 0.5199 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1291, allocations: 8.094 kB / 0.5199 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1293, allocations: 11.92 kB / 0.5199 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1293, allocations: 8 kB / 0.5199 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1293, allocations: 3.984 kB / 0.5199 GB, free: 2.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.946e-05/0.1294, allocations: 103.3 kB / 0.52 GB, free: 2.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1294, allocations: 0 / 0.52 GB, free: 2.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1297, allocations: 16 kB / 0.5201 GB, free: 2.406 MB / 382.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.0001294/0.1298, allocations: 99.25 kB / 0.5202 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.1302, allocations: 92.59 kB / 0.5202 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1302, allocations: 0 / 0.5202 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1303, allocations: 40.08 kB / 0.5203 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1306, allocations: 18.31 kB / 0.5203 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.1313, allocations: 361.6 kB / 0.5206 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1317, allocations: 0.7002 MB / 0.5213 GB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.1318, allocations: 11.44 kB / 0.5213 GB, free: 1.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1318, allocations: 0 / 0.5213 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Templates: time 0.003223/0.135, allocations: 1.285 MB / 0.5226 GB, free: 15.76 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.042477094917558] Failed to read output from testmodel.py, exit status != 0: 0.1416401299647987 0.154959084 0.030546736 Calling exit ...