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.001542/0.001542, allocations: 188.5 kB / 15.77 MB, free: 5.988 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.921/1.921, allocations: 205.4 MB / 221.9 MB, free: 13.79 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.001114/0.001114, allocations: 94.86 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2519/0.2519, allocations: 38.05 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004344, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 56.34 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003461/0.1068, allocations: 2.074 MB / 481.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.1077, allocations: 452.2 kB / 481.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.1078, allocations: 3.938 kB / 481.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.1079, allocations: 3.984 kB / 481.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.108, allocations: 31.88 kB / 481.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.1082, allocations: 23.95 kB / 481.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1084, allocations: 67.86 kB / 481.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1085, allocations: 15.98 kB / 481.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1086, allocations: 39.83 kB / 481.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1087, allocations: 43.78 kB / 481.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1088, allocations: 4 kB / 481.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.1088, allocations: 4 kB / 481.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.1088, allocations: 11.92 kB / 481.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.1089, allocations: 37.7 kB / 481.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.109, allocations: 72.08 kB / 481.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.109, allocations: 3.938 kB / 481.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1091, allocations: 0 / 481.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1091, allocations: 0 / 481.9 MB, free: 15.12 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.000875/0.1099, allocations: 411 kB / 482.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.11, allocations: 8.031 kB / 482.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1101, allocations: 11.86 kB / 482.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1103, allocations: 186.9 kB / 482.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1103, allocations: 4 kB / 482.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.1104, allocations: 8 kB / 482.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.1107, allocations: 93.58 kB / 482.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1108, allocations: 4 kB / 482.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1108, allocations: 3.938 kB / 482.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1108, allocations: 4 kB / 482.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.1112, allocations: 91.88 kB / 482.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1122, allocations: 457.2 kB / 483.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.1127, allocations: 102.5 kB / 483.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1128, allocations: 4 kB / 483.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1128, allocations: 38.56 kB / 483.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.1128, allocations: 0 / 483.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007314/0.1135, allocations: 157.6 kB / 483.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1136, allocations: 55.39 kB / 483.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1138, allocations: 145.9 kB / 483.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1138, allocations: 25.7 kB / 483.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.1139, allocations: 162.5 kB / 483.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.1139, allocations: 27.64 kB / 483.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-06/0.114, allocations: 0 / 483.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1141, allocations: 322.8 kB / 484.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1143, allocations: 35.97 kB / 484.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1145, allocations: 63.41 kB / 484.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1147, allocations: 47.94 kB / 484.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1148, allocations: 3.938 kB / 484.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004842/0.1153, allocations: 141.5 kB / 484.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1153, allocations: 8 kB / 484.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1153, allocations: 0 / 484.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1153, allocations: 0 / 484.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1156, allocations: 31.98 kB / 484.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.1156, allocations: 4 kB / 484.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.1158, allocations: 20.02 kB / 484.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.1158, allocations: 4 kB / 484.5 MB, free: 12.26 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.0001092/0.1159, allocations: 125.7 kB / 484.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.116, allocations: 7.906 kB / 484.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.1165, allocations: 142.2 kB / 484.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1165, allocations: 0 / 484.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1165, allocations: 0 / 484.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1165, allocations: 0 / 484.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.1169, allocations: 201.6 kB / 485 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1169, allocations: 7.953 kB / 485 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.1172, allocations: 35.91 kB / 485 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1172, allocations: 0 / 485 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1172, allocations: 0 / 485 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1172, allocations: 4.188 kB / 485 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1173, allocations: 4 kB / 485.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.118, allocations: 271.3 kB / 485.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.1181, allocations: 84.97 kB / 485.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.1181, allocations: 4.031 kB / 485.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1183, allocations: 11.98 kB / 485.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.1184, allocations: 7.984 kB / 485.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1184, allocations: 0 / 485.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.1185, allocations: 103.3 kB / 485.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.485e-06/0.1185, allocations: 4 kB / 485.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.1188, allocations: 27.94 kB / 485.6 MB, free: 11.14 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.0001059/0.1189, allocations: 91.25 kB / 485.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004362/0.1194, allocations: 95.94 kB / 485.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1194, allocations: 0 / 485.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.1196, allocations: 47.98 kB / 485.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1199, allocations: 12.84 kB / 485.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.1208, allocations: 418.2 kB / 486.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1212, allocations: 0.7052 MB / 486.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.1213, allocations: 15.44 kB / 486.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1213, allocations: 0 / 486.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of Templates: time 0.003472/0.1248, allocations: 1.242 MB / 488.2 MB, free: 8.461 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)