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: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 179.6 kB / 15.78 MB, free: 6.348 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.46/1.46, allocations: 205.4 MB / 221.9 MB, free: 13.76 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.0007284/0.0007284, allocations: 94.23 kB / 270.3 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1689/0.1689, allocations: 38.07 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 11.98 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 56.34 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002829/0.1086, allocations: 2.1 MB / 481.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006111/0.1093, allocations: 460 kB / 481.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.1093, allocations: 0 / 481.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 8.521e-05/0.1094, allocations: 7.922 kB / 481.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.1096, allocations: 27.78 kB / 481.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.446e-05/0.1097, allocations: 15.98 kB / 481.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1098, allocations: 91.58 kB / 481.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1099, allocations: 16 kB / 481.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.11, allocations: 43.83 kB / 481.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.1101, allocations: 35.83 kB / 481.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1101, allocations: 4 kB / 481.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.933e-05/0.1102, allocations: 4 kB / 481.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1102, allocations: 19.92 kB / 481.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.1102, allocations: 41.64 kB / 481.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.275e-05/0.1103, allocations: 64.08 kB / 482 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1103, allocations: 0 / 482 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1104, allocations: 4 kB / 482 MB, free: 15.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1104, allocations: 0 / 482 MB, free: 15.09 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.0006138/0.111, allocations: 403 kB / 482.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.111, allocations: 16.03 kB / 482.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1111, allocations: 11.86 kB / 482.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1113, allocations: 186.8 kB / 482.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1113, allocations: 4 kB / 482.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1113, allocations: 8 kB / 482.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1116, allocations: 93.58 kB / 482.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1116, allocations: 0 / 482.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.1116, allocations: 7.984 kB / 482.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1117, allocations: 8 kB / 482.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.1119, allocations: 79.91 kB / 482.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.1128, allocations: 465.2 kB / 483.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.1131, allocations: 98.61 kB / 483.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1133, allocations: 44.84 kB / 483.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1133, allocations: 0 / 483.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1133, allocations: 38.48 kB / 483.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.1133, allocations: 3.938 kB / 483.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004546/0.1138, allocations: 153.7 kB / 483.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1138, allocations: 51.41 kB / 483.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.114, allocations: 149.8 kB / 483.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.114, allocations: 25.7 kB / 483.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.114, allocations: 104 kB / 483.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.1141, allocations: 19.66 kB / 483.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/0.1141, allocations: 4 kB / 483.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1143, allocations: 326.8 kB / 484.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1144, allocations: 43.97 kB / 484.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1145, allocations: 67.3 kB / 484.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1147, allocations: 43.97 kB / 484.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1147, allocations: 0 / 484.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003193/0.115, allocations: 141.4 kB / 484.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.115, allocations: 11.98 kB / 484.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1151, allocations: 0 / 484.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1151, allocations: 4 kB / 484.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.1152, allocations: 27.92 kB / 484.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1153, allocations: 8.094 kB / 484.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1154, allocations: 11.98 kB / 484.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1154, allocations: 12 kB / 484.6 MB, free: 12.23 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.0001005/0.1155, allocations: 121.7 kB / 484.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1155, allocations: 7.906 kB / 484.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.1159, allocations: 142.3 kB / 484.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1159, allocations: 0 / 484.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1159, allocations: 0 / 484.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1159, allocations: 4 kB / 484.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1162, allocations: 209.5 kB / 485.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1162, allocations: 0 / 485.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.1164, allocations: 27.98 kB / 485.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1164, allocations: 0 / 485.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1164, allocations: 4 kB / 485.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1164, allocations: 4 kB / 485.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1164, allocations: 0 / 485.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.1169, allocations: 275.8 kB / 485.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.117, allocations: 84.97 kB / 485.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.117, allocations: 7.969 kB / 485.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1171, allocations: 7.984 kB / 485.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.1172, allocations: 8 kB / 485.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1172, allocations: 8.062 kB / 485.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.587e-05/0.1173, allocations: 103.2 kB / 485.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1173, allocations: 4 kB / 485.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.1175, allocations: 16 kB / 485.6 MB, free: 11.11 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.0001152/0.1176, allocations: 95.25 kB / 485.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.118, allocations: 96.02 kB / 485.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.118, allocations: 0 / 485.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.1181, allocations: 52.09 kB / 485.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1184, allocations: 19.89 kB / 485.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.1191, allocations: 414.3 kB / 486.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1194, allocations: 0.7053 MB / 487 MB, free: 9.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.1195, allocations: 11.44 kB / 487 MB, free: 9.672 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1195, allocations: 0 / 487 MB, free: 9.672 MB / 330.7 MB Notification: Performance of Templates: time 0.002779/0.1223, allocations: 1.258 MB / 488.2 MB, free: 8.414 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.makefile (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 & ./PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)