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: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) 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.4 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.001065/0.001065, 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.387/1.387, allocations: 222.9 MB / 241.6 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.1753/0.1753, allocations: 38.03 MB / 329.7 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 62.16 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08549, allocations: 58.07 MB / 457 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003652/0.08918, allocations: 2.437 MB / 459.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005632/0.08976, allocations: 446.9 kB / 459.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.08984, allocations: 4 kB / 459.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.997e-05/0.08993, allocations: 7.875 kB / 459.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.09005, allocations: 27.72 kB / 459.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.9e-05/0.09016, allocations: 19.97 kB / 459.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.09029, allocations: 107.6 kB / 460 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.09041, allocations: 23.97 kB / 460 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.09052, allocations: 43.84 kB / 460.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.0906, allocations: 47.77 kB / 460.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.09063, allocations: 8 kB / 460.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.917e-05/0.09066, allocations: 11.94 kB / 460.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.09069, allocations: 19.92 kB / 460.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.09074, allocations: 43.73 kB / 460.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.09086, allocations: 91.95 kB / 460.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09088, allocations: 4 kB / 460.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09088, allocations: 0 / 460.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.0909, allocations: 4 kB / 460.3 MB, free: 4.586 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.0005852/0.09149, allocations: 407.1 kB / 460.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.09153, allocations: 15.83 kB / 460.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.09158, allocations: 42.73 kB / 460.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.09161, allocations: 12.84 kB / 460.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.09178, allocations: 192.1 kB / 460.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.09179, allocations: 384 / 460.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.09182, allocations: 15.94 kB / 461 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.09206, allocations: 89.58 kB / 461.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.09208, allocations: 0 / 461.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.0921, allocations: 7.984 kB / 461.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.09211, allocations: 4 kB / 461.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.09234, allocations: 67.95 kB / 461.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.09308, allocations: 465.2 kB / 461.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.09339, allocations: 90.66 kB / 461.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.09352, allocations: 36.84 kB / 461.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.09354, allocations: 0 / 461.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.09357, allocations: 42.48 kB / 461.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.09358, allocations: 0 / 461.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000412/0.09399, allocations: 137.6 kB / 461.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.09403, allocations: 55.41 kB / 461.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.09415, allocations: 141.8 kB / 462.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.09417, allocations: 25.7 kB / 462.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.09423, allocations: 103.9 kB / 462.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.09426, allocations: 23.8 kB / 462.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.09431, allocations: 21.72 kB / 462.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.09441, allocations: 318.8 kB / 462.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.09454, allocations: 43.97 kB / 462.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.09467, allocations: 59.34 kB / 462.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.09491, allocations: 103.3 kB / 462.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.09492, allocations: 192 / 462.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000296/0.09522, allocations: 129.5 kB / 462.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.09524, allocations: 9.969 kB / 462.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.09525, allocations: 4 kB / 462.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.09527, allocations: 3.938 kB / 462.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.09542, allocations: 32.06 kB / 462.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.09544, allocations: 7.938 kB / 462.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.09554, allocations: 11.84 kB / 463 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.09556, allocations: 15.92 kB / 463 MB, free: 1.637 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 8.008e-05/0.09565, allocations: 113.8 kB / 463.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.09569, allocations: 7.906 kB / 463.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.096, allocations: 130.3 kB / 463.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.09601, allocations: 3.938 kB / 463.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.09602, allocations: 0 / 463.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.09603, allocations: 0 / 463.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.09627, allocations: 205.5 kB / 463.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.09628, allocations: 4 kB / 463.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.09643, allocations: 19.98 kB / 463.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.09644, allocations: 0 / 463.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.09646, allocations: 8 kB / 463.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.09647, allocations: 3.938 kB / 463.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09648, allocations: 4 kB / 463.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.09691, allocations: 251.9 kB / 463.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.09696, allocations: 92.89 kB / 463.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.09699, allocations: 0 / 463.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.09711, allocations: 11.94 kB / 463.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.09715, allocations: 15.98 kB / 463.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.09716, allocations: 4 kB / 463.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.166e-05/0.09724, allocations: 110.2 kB / 463.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09725, allocations: 0 / 463.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.09749, allocations: 20 kB / 464 MB, free: 0.5508 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.000641/0.09813, allocations: 0.775 MB / 464.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.09842, allocations: 91.86 kB / 464.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.09843, allocations: 0 / 464.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.09855, allocations: 43.92 kB / 464.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.09884, allocations: 28.05 kB / 464.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1007, allocations: 1.727 MB / 466.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.101, allocations: 0.6963 MB / 467.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.101, allocations: 12.64 kB / 467.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.1011, allocations: 27.44 kB / 467.4 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1011, allocations: 0 / 467.4 MB, free: 13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.1186, allocations: 2.34 MB / 469.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/6.653, allocations: 16.02 kB / 469.7 MB, free: 10.7 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)