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.001599/0.001599, allocations: 114.1 kB / 17.07 MB, free: 5.984 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.001967/0.001967, allocations: 194.9 kB / 18.01 MB, free: 5.066 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.392/1.392, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.175/0.175, allocations: 38.03 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.84 kB / 457.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3135, allocations: 58.06 MB / 0.5036 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003264/0.3168, allocations: 2.45 MB / 0.506 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005014/0.3173, allocations: 444.1 kB / 0.5064 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.3174, allocations: 0.9375 kB / 0.5064 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.861e-05/0.3175, allocations: 11.67 kB / 0.5064 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.3177, allocations: 26.47 kB / 0.5065 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.3178, allocations: 24.34 kB / 0.5065 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3179, allocations: 108 kB / 0.5066 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.318, allocations: 19.88 kB / 0.5066 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.3181, allocations: 36.14 kB / 0.5066 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.3182, allocations: 50.08 kB / 0.5067 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.3183, allocations: 7.344 kB / 0.5067 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.3183, allocations: 11.12 kB / 0.5067 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.3183, allocations: 22.55 kB / 0.5067 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.3184, allocations: 40.78 kB / 0.5068 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.3185, allocations: 101.2 kB / 0.5069 GB, free: 5.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3185, allocations: 2.047 kB / 0.5069 GB, free: 5.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3185, allocations: 0 / 0.5069 GB, free: 5.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3186, allocations: 0 / 0.5069 GB, free: 5.344 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.0005869/0.3192, allocations: 412.3 kB / 0.5073 GB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3192, allocations: 17.95 kB / 0.5073 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.3192, allocations: 38.58 kB / 0.5073 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.3193, allocations: 10.94 kB / 0.5073 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3195, allocations: 193 kB / 0.5075 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3195, allocations: 7.062 kB / 0.5075 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3195, allocations: 16.16 kB / 0.5075 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.3198, allocations: 90.31 kB / 0.5076 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3198, allocations: 0.9062 kB / 0.5076 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3198, allocations: 4.969 kB / 0.5076 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.3198, allocations: 10.05 kB / 0.5076 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.3201, allocations: 68.44 kB / 0.5077 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.3208, allocations: 470.4 kB / 0.5081 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3211, allocations: 93.05 kB / 0.5082 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.3213, allocations: 37.64 kB / 0.5083 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3213, allocations: 0 / 0.5083 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3213, allocations: 32.41 kB / 0.5083 GB, free: 4.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3213, allocations: 3.938 kB / 0.5083 GB, free: 4.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004321/0.3217, allocations: 140.6 kB / 0.5084 GB, free: 4.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.3218, allocations: 53.03 kB / 0.5085 GB, free: 3.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.3219, allocations: 140.5 kB / 0.5086 GB, free: 3.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.3219, allocations: 26.89 kB / 0.5086 GB, free: 3.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.3219, allocations: 102.8 kB / 0.5087 GB, free: 3.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.322, allocations: 29.66 kB / 0.5088 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.322, allocations: 22.3 kB / 0.5088 GB, free: 3.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.3221, allocations: 323.4 kB / 0.5091 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3222, allocations: 36.72 kB / 0.5091 GB, free: 3.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.3223, allocations: 65.39 kB / 0.5092 GB, free: 3.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.3225, allocations: 100.9 kB / 0.5093 GB, free: 3.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3225, allocations: 1.156 kB / 0.5093 GB, free: 3.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002881/0.3228, allocations: 130 kB / 0.5094 GB, free: 3.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3229, allocations: 5.688 kB / 0.5094 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3229, allocations: 2.188 kB / 0.5094 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3229, allocations: 9 kB / 0.5094 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3231, allocations: 27.48 kB / 0.5095 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3231, allocations: 1.219 kB / 0.5095 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3232, allocations: 15.86 kB / 0.5095 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.3232, allocations: 8.312 kB / 0.5095 GB, free: 3.145 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 5.985e-05/0.3233, allocations: 118.4 kB / 0.5096 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.3233, allocations: 8.328 kB / 0.5096 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.3236, allocations: 125.2 kB / 0.5097 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3236, allocations: 6.172 kB / 0.5097 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3236, allocations: 1.625 kB / 0.5097 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3236, allocations: 0.7969 kB / 0.5097 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.3238, allocations: 211.4 kB / 0.5099 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3238, allocations: 2.078 kB / 0.5099 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.324, allocations: 31.47 kB / 0.51 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.324, allocations: 0 / 0.51 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.324, allocations: 5.672 kB / 0.51 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3241, allocations: 7.938 kB / 0.51 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3241, allocations: 1.156 kB / 0.51 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.3245, allocations: 247.2 kB / 0.5102 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.3245, allocations: 84.67 kB / 0.5103 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3246, allocations: 0.6562 kB / 0.5103 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3247, allocations: 19.52 kB / 0.5103 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3247, allocations: 12.34 kB / 0.5103 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3247, allocations: 2.875 kB / 0.5103 GB, free: 2.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.3248, allocations: 108.4 kB / 0.5104 GB, free: 2.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3248, allocations: 0 / 0.5104 GB, free: 2.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.3251, allocations: 17.44 kB / 0.5105 GB, free: 2.344 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.0005574/0.3256, allocations: 0.7854 MB / 0.5112 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.3259, allocations: 89.17 kB / 0.5113 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3259, allocations: 0 / 0.5113 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.326, allocations: 48.45 kB / 0.5114 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3263, allocations: 12.86 kB / 0.5114 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.3281, allocations: 1.736 MB / 0.5131 GB, free: 144 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3284, allocations: 0.6973 MB / 0.5137 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.692e-05/0.3285, allocations: 9.625 kB / 0.5137 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.3285, allocations: 29.75 kB / 0.5138 GB, free: 15.42 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3286, allocations: 1.562 kB / 0.5138 GB, free: 15.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.3479, allocations: 2.386 MB / 0.5161 GB, free: 14.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.667, allocations: 13.17 kB / 0.5161 GB, free: 14.96 MB / 398.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)